Friday, 24 October 2014
Bootstrapped virtualenvs

Using postmkvirtualenv to prime postactivate

Friday, 4 October 2013
Tuesday, 9 July 2013
purl, URI templates and generated tests

Matching the RFC using Nose's test generators

Wednesday, 12 June 2013
A deferred logging file handler for Django

Using a setting to control where file logs go

Saturday, 1 June 2013
Conditional logic in Django forms

Radio buttons can be tamed

Friday, 3 May 2013
PyPI README badges

Shiny badges using

Tuesday, 23 April 2013
Monday, 22 April 2013
Disable database access when writing unit tests in Django

A decorator for the testing puritan

Thursday, 18 April 2013
How to install PIL on 64-bit Ubuntu 12.04

Because I have to look this up every time

Sunday, 2 September 2012
Cacheback - asynchronous cache refreshing for Django

A simple caching library that uses Celery to refresh stage cache items

Thursday, 19 July 2012
Use models for uploads

Using models for audit and clarity

Saturday, 16 June 2012
A data migration for every Django project

No more embarassing emails from

Thursday, 19 April 2012
purl - immutable URL objects for Python

An immutable URL class designed for easy inspection and manipulation

Thursday, 12 April 2012
Embedding HTML in Django messages

Using extra_tags to flag up HTML-safe messages

Sunday, 1 April 2012
Wednesday, 21 March 2012
How to reload Django's URL config

A rare sighting of the reload function in the wild

Tuesday, 13 March 2012
Validating international postcodes in Django

Using dynamic imports to leverage Django's localflavor

Sunday, 11 March 2012
How to sync PyCon videos to your iPhone

Using Python to fetch and convert YouTube videos for syncing to iPhone

Saturday, 3 March 2012
Confoo 2012 presentations

Two talks from the Python stream

Saturday, 25 February 2012
Prefer data migrations to initial data

South provides a better way

Thursday, 9 February 2012
A Fabric function for git tagging

Using Fabric with git-flow

Monday, 23 January 2012
Friday, 13 January 2012
Introducing unittest-xml: testing XML in Python

A simple module for making XPath assertions

Thursday, 5 January 2012
How to set-up MySQL for Python on Ubuntu

This doesn't stick in my head

Saturday, 20 August 2011
Tuesday, 16 August 2011
Console logging to STDOUT in Django

Undocumented option required to avoid STDERR

Thursday, 11 August 2011
Wednesday, 20 April 2011
Coloured output while doing TDD with Django and Fabric

Providing simple coloured feedback

Friday, 4 February 2011
Wednesday, 15 April 2009
Ingenious use of an anonymous function

An element Lambda employment

RSS feed