DDT not showing

52 views
Skip to first unread message

Aiden

unread,
Mar 9, 2014, 7:03:39 PM3/9/14
to django...@googlegroups.com
Hi all,

Banging my head against a wall trying everything to get DDT to appear using Gunicorn+nginx
I have the following:

DEBUG = True
TEMPLATE_DEBUG = True
SHOW_TOOLBAR_CALLBACK = lambda x: True
DEBUG_TOOLBAR_PATCH_SETTINGS = False

along with the URL settings for __debug__ in my urls.conf. The routes are attaching, but I can't work out
how to get DDT to appear. It isn't in the HTML output, it just isn't there. It was working but now it isn't even
working with manage's runserver.

Any help would be great! . Versions:

django-debug-toolbar==1.0.1
gunicorn==18.0
Django==1.6.2


Nick Santos

unread,
Mar 9, 2014, 7:17:41 PM3/9/14
to django...@googlegroups.com
Since you didn't say that you have - did you add it to your INSTALLED_APPS?

-Nick


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8bcdde5c-d965-4be5-9e07-a696d38eb236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aiden

unread,
Mar 9, 2014, 7:47:22 PM3/9/14
to django...@googlegroups.com, ni...@enviroconsumer.org
Yep debug_toolbar is installed, as is the middleware

ajohnston

unread,
Mar 10, 2014, 2:20:20 PM3/10/14
to django...@googlegroups.com

Make sure you include your client/browser IP address in the INTERNAL_IPS setting (settings.py) something like this:

INTERNAL_IPS = ('127.0.0.1','192.168.1.112')



Reply all
Reply to author
Forward
0 new messages