Debugging utilities for Django.
pip install django-debugging==0.1a2
Django debugging makes it easier to debug your app during development. Currently it contains the runserver_plus functionality from the project django-extensions.
pip install django-debugging
If you are using the package from source you will need to install Werkzeug manually.
django-debugging to your
INSTALLED_APPS = (
To get started use the
runserver_plus command instead of
runserver options will work with
``` $ python manage.py runserver_plus
Validating models... 0 errors found
Django version 1.4.1, using settings 'mysite.conf.settings' Development server is running at http://127.0.0.1:8000/ Using the Werkzeug debugger (http://werkzeug.pocoo.org/) Quit the server with CONTROL-C. ```
Werkzeug displays its own traceback page instead of Django's normal traceback page.
It has two options:
You can expand and the view the source of each line in the traceback.
Lets you evaluate python expressions in the browser with the context being same as the line in the traceback. Use it to print values, assign variables, or run functions. (Warning: This is extremely insecure and should never be run and a production server.)