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