mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-13 02:41:08 +00:00
19 lines
352 B
Python
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"]
|