django-developer-panel
django-developer-panel
pypi i django-developer-panel
django-developer-panel

django-developer-panel

Debug Django applications directly in Google Chrome Devtools.

by loftylabs

0.1.2 (see all)
Categories:Django Debugging
pypi i django-developer-panel
Readme

django-developer-panel

Django Developer Panel Interface

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!