Skip to main content

Replaces Django's runserver command with one that includes the Werkzeug debugger (shamelessly ripped out of django-extensions)

Project description

This app extracts the runserver_plus management command from django-extensions and makes it available as a replacement for Django’s default runserver management command.

Installation

Install from PyPI:

pip install django-werkzeug-debugger-runserver

Configuration

Edit your settings.py and include werkzeug_debugger_runserver in your INSTALLED_APPS before django.contrib.staticfiles:

INSTALLED_APPS = (
    # ...
    'werkzeug_debugger_runserver',
    'django.contrib.staticfiles',
    # ...
)

Usage

Start the development server using python manage.py runserver as usual. If you run into an error the debugger-enabled error view will be shown in the browser. If you want to force the debugger view to appear you can do it using something like raise Exception in your code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

File details

Details for the file django-werkzeug-debugger-runserver-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-werkzeug-debugger-runserver-0.3.1.tar.gz
Algorithm Hash digest
SHA256 9a42b8d407e28652e4da4839d5fa8c59a9dad454eb120889372ee9a7554d8fe2
MD5 decf3d0cdcb1168dd7e3b81ae160c316
BLAKE2b-256 7d545c7a3b60231d013f6536e36207b1fd15a2ca5a23877336fb0938110c7a54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page