We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 483c7b7 commit 1023317Copy full SHA for 1023317
1 file changed
src/web/infrastructure/django_apps/users/admin.py
@@ -15,4 +15,4 @@ class UserModelAdmin(admin.ModelAdmin):
15
)
16
list_filter = ("is_staff", "is_superuser")
17
search_fields = ("email",)
18
- readonly_fields = [f.name for f in UserModel._meta.get_fields()]
+ readonly_fields = ["username", "id", "date_joined", "last_login", "password"]
0 commit comments