Skip to content

Commit

Permalink
Remove list filter by user from admin.py (#257)
Browse files Browse the repository at this point in the history
It's better to remove the admin's option to list filter by user. 

When loading the list page, it tries to load and render all options... which are all users. So it gets extremely large and meaningless.

[Source of the problem](#221)
  • Loading branch information
MrLightful authored Apr 8, 2024
1 parent d2b8997 commit 215947a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fcm_django/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class DeviceAdmin(admin.ModelAdmin):
)
list_filter = (
"active",
"user",
"type",
)
actions = (
Expand Down

0 comments on commit 215947a

Please sign in to comment.