djongo
djongo copied to clipboard
Not working with latest version of Django
Giving an error that djongo is not a database engine. I have installed djongo via pip. Is there any solution or any fix?
For some reason you need to install pytz
first.
In my case ImproperlyConfigured
was raised in django.db.utils.py L126 due to a ModuleNotFound("No module named 'pytz'")
in django.db.utils.py L113.
https://github.com/django/django/blob/d3677043fce0fec5d082e8cae142d5e5df35a2b5/django/db/utils.py#L112-L135
Is the pytz
version in the requirements somehow incompatible with some other packages?
Same issue here. Looking for solutions now. Would love to hear any updates on this.
Install django==3.1.14 and install latest djongo module.It will be solved.
It runs with Django 4.1 but you need to do downgrade pymongo to 3.x
It runs with Django 4.1 but you need to do downgrade pymongo to 3.x
@MiltosD you helped me a lot with this but was not the only thing i needed in order to make it run, i also had to install:
pymongo==3.13.0
pytz==2022.6
sqlparse==0.2.4
I have plenty of tests to run before keep coding, but at least right now im able to run my migrations and boot the service