We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem Some pages load very slow I suspect that code has places where unnecessary joins are executed during page rendering.
What to do Look through the code and find all suspicious places. Fix all problems with Django object annotations https://docs.djangoproject.com/en/2.2/topics/db/aggregation/
Also: https://medium.com/@hansonkd/the-dramatic-benefits-of-django-subqueries-and-annotations-4195e0dafb16
Criteria There are no DB queries in a loop and no extra joins in the code.
The text was updated successfully, but these errors were encountered:
https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.select_related
Sorry, something went wrong.
AGindinson
No branches or pull requests
Problem
Some pages load very slow
I suspect that code has places where unnecessary joins are executed during page rendering.
What to do
Look through the code and find all suspicious places.
Fix all problems with Django object annotations
https://docs.djangoproject.com/en/2.2/topics/db/aggregation/
Also:
https://medium.com/@hansonkd/the-dramatic-benefits-of-django-subqueries-and-annotations-4195e0dafb16
Criteria
There are no DB queries in a loop and no extra joins in the code.
The text was updated successfully, but these errors were encountered: