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.tar.gz
.
File metadata
- Download URL: django-werkzeug-debugger-runserver-0.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae5ef398da965535941791805c3bbd653e9250c6642b6f2aa33af4c99347bbc |
|
MD5 | f0e861f917d767f1d44c114040ad5d39 |
|
BLAKE2b-256 | 4ff2011acb22d47e285a597dd6cff310a19c337e89338958fffb63698782866f |