Thanks Rob, that makes complete sense. Nothing like a response
straight from the source!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googleg
It's looking like you have DEBUG=False and rely on
request.user.is_superuser to enable the toolbar. Which mostly works,
except...
The Django Debug Toolbar monkey patches the CursorDebugWrapper class
to collect its data about what SQL queries are being executed:
http://github.com/robhudson/django
FWIW, djangologging can also show you any sql queries during
request-response, with LOGGING_LOG_SQL = True in settings.py
http://code.google.com/p/django-logging/wiki/Overview
I don't know if or how debugtoolbar and djangologging are related,
but djangologging is working nicely for my show-me-sq
> Are you caching your pages?
Yes, but only for anonymous users
> Are you using Django ORM?
Yes
> Have you added the DebugToolbarMiddleware to your MIDDLEWARE_CLASSES
> in settings.py?
Yes. In settings:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contr
On Nov 1, 9:27 pm, "bax...@gretschpages.com"
wrote:
> I finally installed the django debug toolbar, which looks like a very
> nice piece of work, but it's not reporting sql queries for me. Every
> page: 0 queries, 0 seconds.
>
> Any suggestions on where the problem may lie?
Have you added the De
2009/11/1 bax...@gretschpages.com :
>
> I finally installed the django debug toolbar, which looks like a very
> nice piece of work, but it's not reporting sql queries for me. Every
> page: 0 queries, 0 seconds.
>
> Any suggestions on where the problem may lie?
Are you caching your pages?
Are you
I finally installed the django debug toolbar, which looks like a very
nice piece of work, but it's not reporting sql queries for me. Every
page: 0 queries, 0 seconds.
Any suggestions on where the problem may lie?
--~--~-~--~~~---~--~~
You received this message beca
7 matches
Mail list logo