mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-07-06 17:14:07 +00:00
Fix user hash editable
This commit is contained in:
@ -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',)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user