repair mailbox creation admin
This commit is contained in:
parent
92f25df39d
commit
8f5812ff29
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
* :bug:`-` fix broken mailbox admin
|
||||||
|
|
||||||
* :release:`0.2.3 <2014-12-26>`
|
* :release:`0.2.3 <2014-12-26>`
|
||||||
* :bug:`-` remove attribute readonly_fields from
|
* :bug:`-` remove attribute readonly_fields from
|
||||||
:py:class:`osusers.admin.UserAdmin` to make saving of additional groups work
|
:py:class:`osusers.admin.UserAdmin` to make saving of additional groups work
|
||||||
|
|
|
@ -113,12 +113,12 @@ class MailboxAdmin(ActivationChangeMixin, admin.ModelAdmin):
|
||||||
list_filter = ('active',)
|
list_filter = ('active',)
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
(None, {
|
(None, {
|
||||||
'fields': ('username', 'password', 'osuser', 'active')}),
|
'fields': ('osuser', 'username', 'password', 'active')}),
|
||||||
)
|
)
|
||||||
add_fieldsets = (
|
add_fieldsets = (
|
||||||
(None, {
|
(None, {
|
||||||
'classes': ('wide',),
|
'classes': ('wide',),
|
||||||
'fields': ('username', 'password1', 'password2')}),
|
'fields': ('osuser', 'username', 'password1', 'password2')}),
|
||||||
)
|
)
|
||||||
search_fields = ('username',)
|
search_fields = ('username',)
|
||||||
ordering = ('username',)
|
ordering = ('username',)
|
||||||
|
|
Loading…
Reference in a new issue