remove attribute readonly_fields from UserAdmin
This commit is contained in:
parent
57a0d848c9
commit
dad9849b48
2 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,6 @@ class UserCreationForm(forms.ModelForm):
|
|||
|
||||
class UserAdmin(admin.ModelAdmin):
|
||||
actions = ['perform_delete_selected']
|
||||
readonly_fields = ['uid']
|
||||
add_form = UserCreationForm
|
||||
inlines = [AdditionalGroupInline, ShadowInline]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue