Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10471 closed (duplicate)

django.contrib.admin fails on big tables with foreign keys in list_display

Reported by: arutdag (a) mail dot ru Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: django.contrib.admin fails on big tables
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django.contrib.admin fails on big tables with foreign keys in list_display. My database contains up to 90K rows with 3 foreign keys.

Reason is in django.contrib.admin.views.main on line 185. Django tries to make huge query.

        if self.list_select_related:
            qs = qs.select_related()

Django version:
1.1 pre-alpha SVN-9765

Database:
MySQL

Change History (2)

comment:1 Changed 6 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

duplicate of #9954

comment:2 Changed 6 years ago by ramiro

oops, I meant duplicate of #9554, sorry

Note: See TracTickets for help on using tickets.
Back to Top