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
|
||||
=========
|
||||
|
||||
* :bug:`-` fix broken mailbox admin
|
||||
|
||||
* :release:`0.2.3 <2014-12-26>`
|
||||
* :bug:`-` remove attribute readonly_fields from
|
||||
:py:class:`osusers.admin.UserAdmin` to make saving of additional groups work
|
||||
|
|
|
@ -113,12 +113,12 @@ class MailboxAdmin(ActivationChangeMixin, admin.ModelAdmin):
|
|||
list_filter = ('active',)
|
||||
fieldsets = (
|
||||
(None, {
|
||||
'fields': ('username', 'password', 'osuser', 'active')}),
|
||||
'fields': ('osuser', 'username', 'password', 'active')}),
|
||||
)
|
||||
add_fieldsets = (
|
||||
(None, {
|
||||
'classes': ('wide',),
|
||||
'fields': ('username', 'password1', 'password2')}),
|
||||
'fields': ('osuser', 'username', 'password1', 'password2')}),
|
||||
)
|
||||
search_fields = ('username',)
|
||||
ordering = ('username',)
|
||||
|
|
Loading…
Reference in a new issue