Add: user profile model to django admin page

This commit is contained in:
Aroy-Art 2025-01-28 22:06:46 +01:00
parent c86fbb8362
commit efe6d89caa
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -1,2 +1,10 @@
from django.contrib import admin
from .models import UserProfile
class UserProfileAdmin(admin.ModelAdmin):
list_display = ("user", "show_mature")
admin.site.register(UserProfile, UserProfileAdmin)