Fix django 1.7