removed deprecated updated to django 1.5