Spent a while reviewing Simon Willison’s Debugging Django presentation. Asserting False to get exception pages and dropping into pdb with set_trace() weren’t new to me, but pdb.pm() and, most especially, using the test client in an interactive shell were new ideas and very interesting indeed. Check it out if you don’t know what I mean and you’re interested. It’s a very useful presentation.
Django debugging
Previous post: Weekly TWiD yearning satisfied
Next post: Summer in Vienna
Comments on this entry are closed.