Articles in Django

Topics related to the Django web development framework.

Site news wiped clean

Posted on April 10th, 2009 by Stephen DeGrace Link

Well, I wiped out my database table for my news application.

read more...

Queueing Background Tasks

Posted on April 4th, 2009 by Stephen DeGrace Link

There are times when you want to perform a time-consuming task on the web server but not either delay the response to the user on the other end or have the request time out partially completed. I faced this problem with my gallery application, with the automatic generation of thumbnails. This article talks about the solution I decided on to queue tasks for background processing.

read more...

Comment Framework

Posted on April 1st, 2009 by Stephen DeGrace Link

When I was considering how to integrate the Django comments framework into my site, I swear to God that either a lot of the docs that are there now weren't there then, or I must have missed a lot of stuff. Either way, it seems like the documentation that was there was very scanty and I had to dig into the source code a lot to figure out how the framework worked. I missed all the useful stuff that's in the docs now for customization.

read more...

Version control

Posted on March 16th, 2009 by Stephen DeGrace Link

Recently I got the bright idea of using subversion for version control for this web site. Which is not a bad idea as far as that goes. In researching how to conveniently set up a repository, I stumbled upon the fact that my hosting provider, Webfaction, provides an easy-to-install subversion application. So I went with that.

read more...

Introduction

Posted on February 19th, 2009 by Stephen DeGrace Link

First of all, I want to say that I'm totally new to blogging, and new to Django. I mean, I rarely even read other people's blogs, even though I often enjoy it when I do, so I suppose I'm a hypocrite for hoping other people might read mine. When I decided that I wanted to build a new web site, and try blogging, one of the basic design decisions I made is that it would be composed of multiple blogs on a variety of topics, so that for example anyone who wanted to read my rants could avoid technical discussions, and vice versa. Hence this Django blog.

read more...