Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-werkzeug-debugger-runserver-0.3.1.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None Aug 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page