Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ares
re2o-ares-admin
Commits
b0431eb5
Commit
b0431eb5
authored
Aug 27, 2016
by
chirac
Browse files
Edition du compte mail dans l'interface admin
parent
e76a788c
Changes
1
Hide whitespace changes
Inline
Side-by-side
users/admin.py
View file @
b0431eb5
...
...
@@ -57,7 +57,7 @@ class UserAdmin(VersionAdmin, BaseUserAdmin):
list_filter
=
()
fieldsets
=
(
(
None
,
{
'fields'
:
(
'pseudo'
,
'password'
)}),
(
'Personal info'
,
{
'fields'
:
(
'name'
,
'surname'
,
'email'
,
'shell'
,
'uid_number'
)}),
(
'Personal info'
,
{
'fields'
:
(
'name'
,
'surname'
,
'email'
,
'shell'
,
'uid_number'
,
'mail_account_state'
,
'mail_account'
,
'mail_quota'
)}),
(
'Permissions'
,
{
'fields'
:
(
'is_admin'
,
)}),
)
# add_fieldsets is not a standard ModelAdmin attribute. UserAdmin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment