feat(authentication): add filter by show data in admin

This commit is contained in:
Ethan Nguyen 2021-04-25 16:33:53 -04:00
parent e96f722339
commit 5bd755ebe0
No known key found for this signature in database
GPG Key ID: B4CA5339AF911920

View File

@ -6,7 +6,7 @@ from .models import User
class UserAdmin(admin.ModelAdmin):
search_fields = ["username", "first_name", "last_name"]
list_display = ["username", "last_name", "first_name", "last_modified"]
list_filter = ["is_senior", "accepted_terms", "is_student"]
list_filter = ["is_senior", "is_student", "accepted_terms", "publish_data"]
fieldsets = (
(