takahe/users/admin.py
2022-11-06 00:07:38 -06:00

19 lines
352 B
Python

from django.contrib import admin
from users.models import Identity, User, UserEvent
@admin.register(User)
class UserAdmin(admin.ModelAdmin):
pass
@admin.register(UserEvent)
class UserEventAdmin(admin.ModelAdmin):
pass
@admin.register(Identity)
class IdentityAdmin(admin.ModelAdmin):
list_display = ["id", "handle", "name", "local"]