Skip to content

kapt-labs/django-werkzeug-debugger-runserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-werkzeug-debugger-runserver

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.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%