Derek Stegelman

Snippet Sunday - Werkzeug Deuggber and django-extentions

Sunday snippets are bits of code that I’ve found useful in past projects. I post them here in hopes that someone else will find them useful. Most of these are Github Gists and you can follow them there too if you want.

I’m a big fan of great debugging tools and anything that saves me a few minutes when I’m stumped. Although these tools are anything but new, I just wanted to mention them here.

  • Werkzeug - Debugging server for WSGI
  • Django Extensions - Helpful extensions, binds the Werkzeug server to runserver

Using Werkzeug is easy. After adding django-extensions to your installed apps simply:

python runserver_plus