Reputation: 13
When I try to run the server using django==1.11 I get this error.
from djongo import models
File "/usr/local/lib/python3.6/dist-packages/djongo/models/__init__.py", line 3, in <module>
from .fields import (
File "/usr/local/lib/python3.6/dist-packages/djongo/models/fields.py", line 28, in <module>
from django.db.models.fields.mixins import FieldCacheMixin
ModuleNotFoundError: No module named 'django.db.models.fields.mixins'
But when I try doing the same using django==2 everything works fine. Nothing regarding the Django version is given in the docs: https://nesdis.github.io/djongo/get-started/
The requirements.txt
file in djongo on Github says it does support django==1.11.
sqlparse>=0.2.3
pymongo>=3.2.0
django>=1.11
Any help is appreciated.
Upvotes: 0
Views: 296
Reputation: 13
So I found out what the issue was.Djongo package version==1.2.23 works with django==1.11
Upvotes: 0