updated due to django 1.7.1 migration