This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
devel:django_introduction [2008/08/28 10:50] morten fix typos |
devel:django_introduction [2008/08/28 10:52] morten fix typos |
||
---|---|---|---|
Line 34: | Line 34: | ||
==== Context processors ==== | ==== Context processors ==== | ||
- | At the time of writing, ''nav.django.context_processors'' only contains one context processors: ''debug''. If Django is run in debug mode, this context processors appends a ''sql_queries'' variable to the context of all templates, containing all SQL queries executed to generate the current page. This is useful for optimizing the use of the Django ORM. | + | At the time of writing, ''nav.django.context_processors'' only contains one context processor: ''debug''. If Django is run in debug mode, this context processor appends a ''sql_queries'' variable to the context of all templates, containing all SQL queries executed to generate the current page. This is useful for optimizing the use of the Django ORM. |