I haven't written any django apps since around 1.3, but I always keep a checkout of recent django source handy.<p>The code's pretty rich with good ideas. It's a useful reference if I'm struggling to come up with a good way to solve a particular problem.