Entries published on November 16, 2006
Django tips: get the most out of generic views
Recently at work I had the chance to revisit an application I’d written fairly early on in my tenure at World Online; I was still getting used to doing real Django development and to some of the quirks of our development environment, and ended up writing a lot more code than I needed to, so I was happy to be able to take a couple days and rewrite large chunks of the application to be more efficient and flexible.
The biggest win was more careful use of generic views, which this particular application wasn’t making much use of originally. To put …