Skip to content

Commit 80e9f26

Browse files
committed
fix: add is_event_admin column to user admin list
PT-1830 PT-1852 PT-1854.
1 parent 464197b commit 80e9f26

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

organisations/admin.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,17 @@ class UserAdmin(AuditlogAdminViewAccessLogMixin, DjangoUserAdmin):
322322
},
323323
),
324324
)
325-
list_display = DjangoUserAdmin.list_display + (
325+
list_display = (
326+
"username",
327+
"email",
328+
"first_name",
329+
"last_name",
330+
"is_event_staff",
331+
"is_staff",
332+
"has_person",
333+
"uuid",
326334
"date_joined",
327335
"last_login",
328-
"uuid",
329-
"has_person",
330336
)
331337
list_filter = (
332338
"date_joined",

0 commit comments

Comments
 (0)