2023-10-21 13:18:07 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2023-11-10 09:05:53 +00:00
|
|
|
from .models import UserProfile
|
|
|
|
|
2023-10-21 13:18:07 +00:00
|
|
|
# Register your models here.
|
2023-11-10 09:05:53 +00:00
|
|
|
|
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('user', 'show_mature')
|
|
|
|
|
|
|
|
|
|
|
|
admin.site.register(UserProfile, UserProfileAdmin)
|