Support django 1.7