#8408: Add a new meta option: don't do count(*) in admin -------------------------------+------------------------------------------- Reporter: LI Daobing | Owner: Thomas Chaumeny Type: New feature | Status: closed Component: contrib.admin | Version: master Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------------
Comment (by Josh Smeaton): I don't think this ticket has been properly or fully fixed. The patch that landed only affects the display of filtered results. A count(*) is still executed every time you hit a page, which leads to timeouts when tables grow large. I think the idea of using a custom paginator is probably a good one, but that could probably be controlled by an option in model admin or something. I'm not reopening this ticket until I've got some feedback first. -- Ticket URL: <https://code.djangoproject.com/ticket/8408#comment:45> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.be81ac34490fb730c00b418c51fde738%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.