Gallery-Archivist/backend/api/user/admin.py

11 lines
206 B
Python
Raw Permalink Normal View History

2025-01-28 22:05:10 +01:00
from django.contrib import admin
from .models import UserProfile
class UserProfileAdmin(admin.ModelAdmin):
list_display = ("user", "show_mature")
admin.site.register(UserProfile, UserProfileAdmin)