Skip to content

Commit 544ca5e

Browse files
authored
make old_usernames visible in user admin (#3909)
1 parent 60e2c7d commit 544ca5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

users/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ class UserAdmin(admin.ModelAdmin):
200200
ProFilter,
201201
BotFilter,
202202
]
203+
readonly_fields = ["old_usernames"]
203204

204205
def get_actions(self, request):
205206
actions = super().get_actions(request)

0 commit comments

Comments
 (0)