summaryrefslogtreecommitdiffstats
path: root/users/admin.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-17 14:45:31 -0700
committerAndrew Godwin2022-12-17 14:45:31 -0700
commite8d6dccbb27a8611311b5f94f593b69bcca99528 (patch)
tree440901d8495f29e682d5fd08bb3ee4e44e983505 /users/admin.py
parentb3b2c6effdd747db9076b3139963965f4718eee9 (diff)
downloadtakahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.tar.gz
takahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.tar.bz2
takahe-e8d6dccbb27a8611311b5f94f593b69bcca99528.zip
Report function and admin
Diffstat (limited to 'users/admin.py')
-rw-r--r--users/admin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/admin.py b/users/admin.py
index 6c89881..e780b16 100644
--- a/users/admin.py
+++ b/users/admin.py
@@ -9,6 +9,7 @@ from users.models import (
InboxMessage,
Invite,
PasswordReset,
+ Report,
User,
UserEvent,
)
@@ -113,3 +114,8 @@ class InboxMessageAdmin(admin.ModelAdmin):
@admin.register(Invite)
class InviteAdmin(admin.ModelAdmin):
list_display = ["id", "created", "token", "note"]
+
+
+@admin.register(Report)
+class ReportAdmin(admin.ModelAdmin):
+ list_display = ["id", "created", "resolved", "type", "subject_identity"]