Opened 14 years ago
Closed 14 years ago
#15868 closed Bug (duplicate)
Auth Group Admin Bug
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | 1.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | Screenshot-Add group | Django site admin - Chromium.png added |
---|
comment:1 by , 14 years ago
Easy pickings: | unset |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #15206
django auth group admin issue