Django - interactive debugging
A lesser known tip for django developers.
- pip install django_extensions Werkzeug
- manage.py 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 ;)
- manage.py clean_pyc - does what it says
Written by Ross Crawford-d'Heureuse
Related protips
2 Responses
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/56934/3cf46c66479b132d23f287bd727b8837.jpeg)
IV. manage.py shell_plus
over 1 year ago
·
Oh yeah :) just run manage.py and look under the [django_extensions] section to see the list of options :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#