DjangoCon 2014- Optimizing your webapp by using django-debug-toolbar

Title:
DjangoCon 2014- Optimizing your webapp by using django-debug-toolbar
Description:

This talk explains how to perform SQL query analysis and how to rewrite your views to reduce the number of queries Django uses in evaluating your model objects and their attributes. Special emphasis will be given to the powerful methods "select_related" and "prefetch_related." I will highlight the problem with a naive use of the ORM, how to target code for optimization, and the beneficial result.

more » « less
Duration:
22:50
Format: Youtube Primary Original
This video is part of Amara Public.