remove attribute readonly_fields from UserAdmin
This commit is contained in:
parent
57a0d848c9
commit
dad9849b48
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
* :bug:`-` remove attribute readonly_fields from
|
||||||
|
:py:class:`osusers.admin.UserAdmin` to make saving of additional groups work
|
||||||
|
|
||||||
* :release:`0.2.2 <2014-12-26>`
|
* :release:`0.2.2 <2014-12-26>`
|
||||||
* :feature:`-` home and mail base directory creation
|
* :feature:`-` home and mail base directory creation
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,6 @@ class UserCreationForm(forms.ModelForm):
|
||||||
|
|
||||||
class UserAdmin(admin.ModelAdmin):
|
class UserAdmin(admin.ModelAdmin):
|
||||||
actions = ['perform_delete_selected']
|
actions = ['perform_delete_selected']
|
||||||
readonly_fields = ['uid']
|
|
||||||
add_form = UserCreationForm
|
add_form = UserCreationForm
|
||||||
inlines = [AdditionalGroupInline, ShadowInline]
|
inlines = [AdditionalGroupInline, ShadowInline]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue