Ian Lewis
Oct. 15, 2009
Recently I got some tests working for my django-lifestream project. The lifestream imports data from RSS/Atom feeds so there isn't a good way to run tests without creating a test HTTP server to serve up your RSS/Atom. The tests start up an http[...]
Aug. 30, 2009
Since I've been using it for a while now I've gotten a good idea about what is good and what is annoying about development with django. This might seem a little trite at parts since some of these gripes are with features that don't exist in othe[...]
Aug. 26, 2009
I recently used the new feature in Django 1.1 for reversing django admin urls and specifying custom admin views in my project django-lifestream. django-lifestream has a custom admin view which allows users to update the lifestream manually. The[...]
July 3, 2009
One problem I keep encountering with setting up fastcgi with Django is that the default nginx fastcgi parameters cause django to load the top url no matter what url you try to go to. This is because the default nginx fastcgi parameters pass the [...]
June 19, 2009
The Google Appengine SDK 1.2.3 was just released and contains some often asked for goodies such as Django 1.0 support and support for a task queue API. I haven't found much information about the Django 1.0 version in Appengine but here are some[...]
June 11, 2009
I implemented blog post previews for my blog using the technique described here: http://latherrinserepeat.org/2008/7/28/stupid-simple-django-admin- previews/ It's very simple as it is simply a view using an existing record. I'd prefer something[...]
June 6, 2009
I finally got around to finishing up my Django based website. It's pretty inexcusable for a Django developer to have a PHP based blog website. I'm happy that it seems to be snappier and I haven't don't anything particular to try to make it fast [...]
March 14, 2009
I wanted to impove a Google Appengine application that a friend of mine created (ほぼ汎用イベント管理ツール(jp)) and noticed that he was redirecting directly to urls. He is using Werkzeug to handle url routing so I wondered if there was a method for generati[...]
Feb. 20, 2009
Yesterday I ran into an interesting quirk with Django's QueryDict object and the normal dictionary update() method. Normally the update method will allow you to merge two dictionary or dictionary like objects but because the QueryDict internally[...]
Feb. 4, 2009
One of the neat things making it's way into Django 1.1 is F object queries. The F object is kind of like the Q object as it can be used it queries but it represents a database field on the right hand side of an equality/inequality. For the exam[...]