fix issue with django version envs