Skip to content
Snippets Groups Projects
Commit a01e0846 authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

More streamlined admin user edit screen

parent 125422cd
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,9 @@ class EmailUserAdmin(admin.ModelAdmin):
list_display = ("email", "last_name", "first_name", "is_superuser")
list_filter = ("is_superuser",)
list_editable = ("is_superuser",)
fields = ("email", "last_name", "first_name", "is_superuser",
("date_joined", "last_login",),
)
ordering = ("last_name", "first_name")
readonly_fields = ("date_joined", "last_login",)
exclude = ("groups","password",)
list_per_page = 200
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment