Skip to content

Extremely slow when generic relationships #1048

Closed
@LeonardoGentile

Description

@LeonardoGentile

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions