Commit e0b446d1 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

don't put M2M in list display

parent 2edb1627
...@@ -41,7 +41,7 @@ class UserPreferencesAdmin(admin.ModelAdmin): ...@@ -41,7 +41,7 @@ class UserPreferencesAdmin(admin.ModelAdmin):
if field.name not in [ if field.name not in [
"id", "id",
"user", "user",
] ] and not field.many_to_many
] ]
list_filter = [ list_filter = [
field.name field.name
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment