Hey there and welcome to Tokotoko Studio!

Check out our latest blog post:
Django tip: Debugging templates

Django tip: Debugging templates

using ipdb to get into your context

When debugging your Django code, the interactive python debugger is an invaluable tool. Wherever you want to take a look at what your code is really doing you can drop in the following line 'import ipdb; ipdb.set_trace()' and then when you run the development server you'll be dropped into a debugging shell at that point. It makes it super easy to examine your data and step through your code. However, that only works for your Python code...

olof sep 23 2012

Read More