Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
eb4e08ef
Commit
eb4e08ef
authored
6 years ago
by
Bruno Martin
Browse files
Options
Download
Email Patches
Plain Diff
fix django admin user edit
parent
a0e598f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
base_django_project/users/admin.py
base_django_project/users/admin.py
+1
-0
No files found.
base_django_project/users/admin.py
View file @
eb4e08ef
...
...
@@ -41,3 +41,4 @@ class MyUserAdmin(AuthUserAdmin):
list_display
=
(
'id'
,
'username'
,
'name'
,
'email'
,
'is_superuser'
)
list_display_links
=
(
'id'
,
'username'
)
search_fields
=
[
'id'
,
'name'
,
'email'
,
'username'
]
readonly_fields
=
[
'date_joined'
,]
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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