Re: debug toolbar problem

2009-11-02 Thread bax...@gretschpages.com
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

Re: debug toolbar problem

2009-11-02 Thread Rob Hudson
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

Re: debug toolbar problem

2009-11-02 Thread David De La Harpe Golden
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

Re: debug toolbar problem

2009-11-02 Thread bax...@gretschpages.com
> 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

Re: debug toolbar problem

2009-11-02 Thread Daniel Roseman
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

Re: debug toolbar problem

2009-11-01 Thread Antoni Aloy
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

debug toolbar problem

2009-11-01 Thread 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? --~--~-~--~~~---~--~~ You received this message beca