Specify Django version number as 1.4, as there is an issue with 1.5 in non-debug mode