reverting back to django 1.4 syntax to match django version on production server