March 2008 Archives

I have gained an interest in cyberpunk novels again and have been looking at the Shadowrun RPG. One of the hallmarks of cyberpunk is a dark, depressing atmosphere. This darkness is also associated with the coolness that is running the shadows or jacking into the Matrix or whatever. But, I believe, there is a benefit to a dark-themed desktop: it hurts the eyes less after hours of staring at a light-themed desktop.

UPDATE: This post has been updated so the code will work with Django 1.0

While working on Clapton, the Django-based Content Management System (CMS), I had to write validation code for file uploads. This is needed because Clapton contains applications specific to media types such as documents which requires Word Documents, PDFs or OpenDocumentFormat files, and podcasts which requires MP3 or OGG files. But how do you guarantee that the right files are uploaded? By using Django's custom fields and newforms module.

About this Archive

This page is an archive of entries from March 2008 listed from newest to oldest.

December 2007 is the previous archive.

June 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Jobs

Powered by Movable Type 4.1