Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
e0b446d1
Commit
e0b446d1
authored
Jul 16, 2021
by
Bryan BRANCOTTE
Browse files
don't put M2M in list display
parent
2edb1627
Changes
1
Show whitespace changes
Inline
Side-by-side
basetheme_bootstrap/admin.py
View file @
e0b446d1
...
...
@@ -41,7 +41,7 @@ class UserPreferencesAdmin(admin.ModelAdmin):
if
field
.
name
not
in
[
"id"
,
"user"
,
]
]
and
not
field
.
many_to_many
]
list_filter
=
[
field
.
name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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