This link has been bookmarked by 101 people . It was first bookmarked on 22 May 2008, by a77ila.
-
08 May 12
-
27 Sep 11
-
22 Sep 11
-
16 Jul 11
-
27 Feb 11
-
21 Dec 10
-
09 Dec 10
-
27 Jun 10
-
14 Apr 10
-
31 Mar 10
-
16 Feb 10
-
assert False
-
assert False, request.GETOne particularly useful place to use this is when you are building a complex form. If you want to see the data that was submitted, drop an assert False in to the view that the form targets and use the error page to inspect the data.
-
-
15 Feb 10
-
10 Feb 10
-
06 Jan 10
-
04 Jan 10
-
25 Nov 09
-
23 Nov 09
-
08 Oct 09
-
05 Oct 09
-
25 Aug 09
-
30 Jul 09
-
21 Jul 09
-
23 Jun 09
-
21 Jun 09
-
assert False
-
import pdb; pdb.set_trace()
-
The pdb prompt doubles up as a full Python interactive shell, so you can not only access variables but you can modify them, call functions and generally mess around with the internals of your application as much as you like, while it’s running
-
-
16 Jun 09
-
13 Jun 09
-
28 May 09
-
23 May 09
-
03 Apr 09
-
30 Mar 09
-
27 Feb 09
-
12 Feb 09
-
26 Dec 08
-
27 Oct 08
-
17 Oct 08
-
12 Oct 08
-
26 Sep 08
-
14 Sep 08
-
04 Sep 08
-
22 Aug 08
-
17 Aug 08
-
09 Aug 08
-
05 Aug 08
-
27 Jul 08
-
16 Jul 08
-
03 Jul 08
-
20 Jun 08
-
I gave a talk on Debugging Django applications at Monday’s inaugural meeting of DJUGL, the London Django Users Group. I wanted to talk about something that wasn’t particularly well documented elsewhere, so I pitched the talk as “Bug Driven Development”—what happens when Test Driven Development goes the way of this unfortunate pony.
The slides are up on SlideShare, but don’t provide quite enough context so I’m going to cover the tips in full here.
-
-
06 Jun 08
Nicolas PerriaultI wanted to talk about something that wasn’t particularly well documented elsewhere, so I pitched the talk as “Bug Driven Development”
-
05 Jun 08
-
03 Jun 08
-
01 Jun 08
-
31 May 08
-
29 May 08
-
28 May 08
-
27 May 08
-
24 May 08
-
23 May 08
Kenneth Priisholm“Bug Driven Development”—what happens when Test Driven Development goes the way of this unfortunate pony.
-
22 May 08
-
M JUseful tip number one is that you can trigger the error page from any view just by adding the following line:
-
Stanton TetersArticle about debugging Django (and Python to an extent) with various tools.
python django debugging programming web-framework testing testing-tools delicious-import
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.