django-developer-panel
django-developer-panel copied to clipboard
Debug Django applications directly in Google Chrome Devtools.
django-developer-panel
Installation
Install this module with pip:
pip install django-developer-panel
Add the Developer Panel middleware to your application's settings.py
and make sure DEBUG
is enabled:
DEBUG = True
MIDDLEWARE = [
'djdev_panel.middleware.DebugMiddleware', # <--- this guy
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
You're ready to go. Install the Chrome plugin and get started!