Fix detail to django 1.6