V
V
Vyacheslav Grachunov2019-05-12 22:44:14
Django
Vyacheslav Grachunov, 2019-05-12 22:44:14

How to make new janga friends with old monga?

Need to connect to MongoDB 2.4.10 from Django 2.2
System on Debian 9 amd64, Python 3.5
django-nonrel is not supported by django 2, and djongo needs Python 3.6 and MongoDB 3rd
version (the new ones don't support it either)
Is it possible to integrate this into the Django ORM, or go ahead with shit coding?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xozzslip, 2019-05-13
@xozzslip

ORM is about relational databases. Therefore, it is possible to use this approach in the case of mongo - worse than writing raw queries. But if you want, you can search for ODM, for example docs.mongoengine.org/tutorial.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question