Skip to content

Django debug toolbar

hernil edited this page Oct 16, 2015 · 2 revisions

Django debug toolbar

A useful developer plugin for Django is the Django debug toolbar.

Run pip install django-debug-toolbar then do these changes in local.py:

Change from base import PROJECT_ROOT_DIRECTORY to from base import *

Add

INSTALLED_APPS += (
    'debug_toolbar',
    )

If you're in Vagrant add INTERNAL_IPS = ('127.0.0.1', '10.0.2.2',)

As long as DEBUG = True you'll have a very nifty toolbar with a lot of additional info when browsing your dev site.