Auth Group Admin Bug
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When your app has too many permissions, it takes an eternity to execute a request to auth_group admin page.
It makes as many SQL queries as permissions existent.
My app has for now, 350 permissions, after having that problem I installed django_debug_tools to see what was happening. When I load group admin page, Django makes 350 queries in SQL and uses 5500ms in processor time.
Though, when I load user admin page, which shows permissions the same way group admin does, it loads really fast.
Group admin is loading SO slow, it even fails to load on a server like Apache or nGinx, it only loads on Django test server.
Change History (2)
Changed 6 years ago by
|Attachment:||Screenshot-Add group | Django site admin - Chromium.png added|