mark readonly user signup fields
parent
e9d1fea15e
commit
2c71afebc2
|
@ -22,6 +22,7 @@ class TownieAdmin(admin.ModelAdmin):
|
|||
inlines = [PubkeyInline]
|
||||
list_display = ('username', 'reviewed', 'email')
|
||||
ordering = ('reviewed',)
|
||||
readonly_fields = ('reasons', 'plans', 'socials')
|
||||
exclude = ('first_name', 'last_name', 'password', 'groups', 'user_permissions', 'last_login', 'is_staff', 'is_active', 'is_superuser')
|
||||
actions = (bulk_review,)
|
||||
search_fields = ('username', 'email', 'displayname')
|
||||
|
|
Loading…
Reference in New Issue