Update Django dependency

The changes introduced in fc3f018 are incompatible with Django < 1.4