From 215947a1075a32ea26166010fda0242255f5043d Mon Sep 17 00:00:00 2001 From: Roman Sirokov Date: Mon, 8 Apr 2024 02:49:08 -0400 Subject: [PATCH] Remove list filter by user from admin.py (#257) 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](https://github.com/xtrinch/fcm-django/pull/221) --- fcm_django/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fcm_django/admin.py b/fcm_django/admin.py index 36f870d8..f00d1be2 100644 --- a/fcm_django/admin.py +++ b/fcm_django/admin.py @@ -30,7 +30,6 @@ class DeviceAdmin(admin.ModelAdmin): ) list_filter = ( "active", - "user", "type", ) actions = (