django 1.6 next deprecated fix