Opened 7 years ago

Closed 7 years ago

#3611 closed (duplicate)

[multi-db] select_related stuck in recursive loop

Reported by: carole.zieler@… Owned by: jacob
Component: Uncategorized Version: master
Severity: Keywords: multi-db
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


using .select_related on objects ( even if foreign keys are all in the same database ) seems to be hanging in some sort of recursive loop.

I'm attaching a file of a Django project that I created this morning...basically a culled down version of my big project. I'm also attaching a sql dump of my UserDB that it would be easier to view the problem ...

Basically... al you would need to do is go to the settings file...and modify the template directory to be where every you unzipped this tarball to ... and then install the sql dump on your mysql service..and you should be able to run it..and see the problem... by going to ... if I remove the .select_related ... works fine... but if they are in there... doesn't work.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by anonymous

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

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.