Add: base user app for user specific settings

This commit is contained in:
Aroy-Art 2023-11-10 10:05:53 +01:00
parent a119e041bf
commit 5de12311c4
Signed by: Aroy
GPG key ID: 583642324A1D2070
4 changed files with 78 additions and 2 deletions

View file

@ -1,3 +1,11 @@
from django.contrib import admin
from .models import UserProfile
# Register your models here.
class UserProfileAdmin(admin.ModelAdmin):
list_display = ('user', 'show_mature')
admin.site.register(UserProfile, UserProfileAdmin)