Opened 16 years ago

Closed 16 years ago

Last modified 16 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: dev
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: no UI/UX: no

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 by Ramiro Morales, 16 years ago

Resolution: duplicate
Status: newclosed

duplicate of #9954

comment:2 by Ramiro Morales, 16 years ago

oops, I meant duplicate of #9554, sorry

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