• Stars
    star
    124
  • Rank 286,598 (Top 6 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Debug Django applications directly in Google Chrome Devtools.

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!