Gallery-Archivist/archivist/apps/user/admin.py

11 lines
235 B
Python

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)