Fix user hash editable

This commit is contained in:
A B
2024-10-28 17:21:23 +00:00
parent 0880401cc4
commit 6710cf211c

View File

@ -93,7 +93,6 @@ class ServerAdmin(PolymorphicParentModelAdmin):
class UserAdmin(admin.ModelAdmin): class UserAdmin(admin.ModelAdmin):
form = UserForm form = UserForm
list_display = ('username', 'comment', 'registration_date', 'hash', 'server_count') list_display = ('username', 'comment', 'registration_date', 'hash', 'server_count')
list_editable = ('hash', )
search_fields = ('username', 'hash') search_fields = ('username', 'hash')
readonly_fields = ('hash',) readonly_fields = ('hash',)