Re: django-debug-toolbar with runserver not running on localhost

2010-02-05 Thread Rob Hudson
Or use the SHOW_TOOLBAR_CALLBACK to customize when you want the toolbar displayed... I simply ship with what I consider reasonably safe defaults. For example: # Always show the toolbar DEBUG_TOOLBAR_CONFIG = { 'SHOW_TOOLBAR_CALLBACK: lambda req: True, } # Only show toolbar for super user

Re: django-debug-toolbar with runserver not running on localhost

2010-02-05 Thread chefsmart
If you use dcamer's fork http://github.com/dcramer/django-debug-toolbar you won't have to rely on INTERNAL_IPS and you can simply log in as a superuser to use django-debug-toolbar Regards. On Feb 5, 2:53 am, HARRY POTTRER wrote: > gah you're correct, I can't believe I missed

Re: django-debug-toolbar with runserver not running on localhost

2010-02-04 Thread HARRY POTTRER
gah you're correct, I can't believe I missed that setting. thanks On Feb 4, 4:48 pm, rebus_ wrote: > On 4 February 2010 22:06, HARRY POTTRER wrote: > > > I've noticed that if I run the django dev server on localhost, debug- > > toolbar works, but if I try

Re: django-debug-toolbar with runserver not running on localhost

2010-02-04 Thread rebus_
On 4 February 2010 22:06, HARRY POTTRER wrote: > I've noticed that if I run the django dev server on localhost, debug- > toolbar works, but if I try to run he server like this: > > ./manage.py runserver 192.168.1.145:8000 > > the site will work, but the toolbar won't show up.

django-debug-toolbar with runserver not running on localhost

2010-02-04 Thread HARRY POTTRER
I've noticed that if I run the django dev server on localhost, debug- toolbar works, but if I try to run he server like this: ./manage.py runserver 192.168.1.145:8000 the site will work, but the toolbar won't show up. Is there a work- around for this? -- You received this message because you