On the other hand a quick list for myself in case the blog post disappears:
1. using “assert False” in your views will raise the default debug output in the browser we all know when something goes wrong
2. using “print” statements will print to the terminal (didn’t know that, woah!)
3. using “pdb” module you can debug faulty functions, step by step
4. using “django.test.client Client” to interactively act as a browser and access to HttpResponse objects
http://simonwillison.net/2008/May/22/debugging/
http://www.petersblog.org/node/1051
1. using “assert False” in your views will raise the default debug output in the browser we all know when something goes wrong
2. using “print” statements will print to the terminal (didn’t know that, woah!)
3. using “pdb” module you can debug faulty functions, step by step
4. using “django.test.client Client” to interactively act as a browser and access to HttpResponse objects
http://simonwillison.net/2008/May/22/debugging/
http://www.petersblog.org/node/1051