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.
Metadata
Release files for django-werkzeug-debugger-runserver 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-werkzeug-debugger-runserver-0.3.1.tar.gz | 5.9 kB | Details |
Release files / django-werkzeug-debugger-runserver-0.3.1.tar.gz
| Download URL | django-werkzeug-debugger-runserver-0.3.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a42b8d407e28652e4da4839d5fa8c59a9dad454eb120889372ee9a7554d8fe2
|
|
BLAKE2b-256 checksum How to use checksums |
7d545c7a3b60231d013f6536e36207b1fd15a2ca5a23877336fb0938110c7a54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |