#14022: context_processors debug() Fails with no DB Backend
----------------------------+-----------------------------------------------
Reporter: dvine | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: 1.2
Keywords: | Stage: Unreviewed
Has_patch: 0 |
----------------------------+-----------------------------------------------
If no database backend is defined the debug() function of
djnago.core.context_processors fails at:
{{{
context_extras['sql_queries'] = connection.queries
}}}
because the '!DatabaseWrapper' object has no attribute 'queries'
This happens in my pip install of Django 1.2.1 on my Linux Server but not
in my recent trunk checkout on my Windows djago dev server.
--
Ticket URL: <http://code.djangoproject.com/ticket/14022>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.