Posts for December 2007
'unicode' object has no attribute 'get_sql'
I keep getting this error, and it always takes a moment of head-scratching to figure out what's wrong. Here's what's wrong, to save you some hair.
Adapters in Django and the Revenge of Zope
Using Zope 3's component architecture can significantly reduce dependencies between applications within a Django project. Why stand on the shoulders of one giant, when you can stand on the shoulders of two?
GET and POST handling in Django views
Django view functions often feature an initial stanza near the start in order to handle POST data differently. You often end up with quite a lot of logic in one method. Here I describe a cleaner way, using a decorated view class to replace the single function.
TFS, Force Get, and Get Specific Version
When TFS tells you something, you want to think twice about whether you believe it.
Fez Consulting web site live
The Fez Consulting web site has gone live - another dirt simple site built on Django.
Programming with Passion
Software engineering shouldn't be 9 to 5 job. It should be a source of constant intellectual stimulation, in an environment of constant change. However, experience tells me that there are plenty of people for whom programming is the process by which a specification document is turned into a paycheck.