5
Mar
2008

django, logging

Django request logging

I'm a big believer in the utility of web application logging. Over the years I've almost always found it more useful than debuggers in diagnosing problems. The difficulty is achieving good logging. Here's a solution for Django projects that I'm pretty happy with.

3
Mar
2008

django, performance

Automatic versioning of static content for Django sites

A standard performance tweak these days is to set long expiration dates on your site's static content. Here's the best way I've come up with to do that for my Django sites.

< previous page page 5 of 5