blog

< previous page page 2 of 2

Django request logging with rsyslog

27 March 2008 django, logging

In my original post about logging Django requests, I had only tried my code with syslog-ng. It works fine with rsyslog too.

read full entry...

Generic search engine pinging for Django

14 March 2008 django, seo

The Django contrib sitemap framework provides a way to let Google know when your sitemap has been updated. It's simple enough to add Ask and Yahoo; until I can get a patch contributed, this module is an easy way to ping them all.

read full entry...

Sitemap class for direct-to-template generic views

14 March 2008 django, seo

A simple way to include direct-to-template pages in the sitemap of your Django site.

read full entry...

Django request logging

5 March 2008 django, 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.

read full entry...

Automatic versioning of static content for Django sites

3 March 2008 django, performance

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.

read full entry...

< previous page page 2 of 2