Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extremely slow when generic relationships #1048

Closed
LeonardoGentile opened this issue Mar 12, 2018 · 1 comment
Closed

Extremely slow when generic relationships #1048

LeonardoGentile opened this issue Mar 12, 2018 · 1 comment

Comments

@LeonardoGentile
Copy link

Hello
I have a view showing the result of a model having generic relationships.
This template produces a 544 sql queries (surely I will fix this) but the toolbar says that it 'only'
took 400ms.

Nonetheless the time to load the page varies from 30sec to 1minute.

Disabling the SQL panel seems to fix the problem.

Django 1.11
Django-debug-toolbar 1.8 and 1.9.1 (tried both)

@tim-schilling
Copy link
Contributor

Closing in favor of #1402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants