Last Updated: February 25, 2016
· rosscdh

Django - interactive debugging

A lesser known tip for django developers.

  1. pip install django_extensions Werkzeug
  2. runserver_plus - makes use of werkzeug i.e. place an assert False in your code flow and refresh the page.. profit. Of course you should really also be logging and writing tests for this ;)
  3. clean_pyc - does what it says

2 Responses
Add your response

IV. shell_plus

over 1 year ago ·

Oh yeah :) just run and look under the [django_extensions] section to see the list of options :)

over 1 year ago ·