With my recent release of a new version of this site, I finally made the jump from using mod_python to using mod_wsgi. This change had been a long time coming, but was made slightly less than straight forward by my desire to deploy to virtualenv environments.
You are viewing an archive of posts for May, 2009. You can also head back to the blog home.
New version of jmoiron.net
May 25th 2009 12:39:50
As you would probably expect with how problematic and generally incomplete it feels, this blog is based upon a long and wretched history of failed or aborted blog projects. Beginning in February 2002, when I wrote far more often about completely uninteresting things (a trend that's caught on with the web at large), this blog has seen 7 past versions:
QuerySet Caching
May 18th 2009 21:48:47
Spent a few hours today trying to figure out how to do QuerySet caching in django in some kind of transparent manner. We are working on a multi-tiered caching system, sort of like that which was released by the pownce guys a few weeks ago, except with a bit more there there.
Be careful with metaclasses
May 13th 2009 23:40:14
Python metaclasses can be really intense. SQLObject's declarative metaclass base, popularized by Django's ORM, has been as useful a DSL as the python world has had in a long time. But please be careful when using metaclasses in a way that makes it difficult to extend via subclassing!

public domain