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
d
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 that setting. thank
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 to run he server like this:
>
> > ./mana
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. Is there a work-
> ar
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 ar
5 matches
Mail list logo