djongo icon indicating copy to clipboard operation
djongo copied to clipboard

Django version 1.11

Open ayushkothari27 opened this issue 8 years ago • 3 comments

When I run the makemigrations for the 1st time I get the following error in django==1.11 but everything works fine with django==2.0

Error : from djongo import models File "/usr/local/lib/python3.6/dist-packages/djongo/models/init.py", line 3, in from .fields import ( File "/usr/local/lib/python3.6/dist-packages/djongo/models/fields.py", line 28, in from django.db.models.fields.mixins import FieldCacheMixin ModuleNotFoundError: No module named 'django.db.models.fields.mixins'

ayushkothari27 avatar Apr 22 '18 20:04 ayushkothari27

Your requirements.txt says it supports django>=1.11

ayushkothari27 avatar Apr 22 '18 21:04 ayushkothari27

Does not matter as setup.py has the right number. So if you install this from pip, the correct version should automatically get installed for you.

I updated the requirements.txt as well.

nesdis avatar Apr 23 '18 03:04 nesdis

Hi @nesdis , Do you plan to support Django 1.11? Because it is LTS. However, I understand that it makes sense to move to 2.0 since you don't support python 2.

arindammanidas avatar Apr 25 '18 09:04 arindammanidas