Answer the question
In order to leave comments, you need to log in
How to connect django and mongodb(django_mongodb_engine)?
Django complains about connecting mongo. Read the connection manual. I did everything as described: https://django-mongodb-engine.readthedocs.io/en/la...
but it says that I can only connect sql. I am writing a website for a game server. Everything in the game is on mongoDB. As planned, you need mongo, since the rest of the aspects are written for mongo. If there is a sql option to make friends with mongo with one key - write.
In terminal
it says: ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'
Error was: No module named 'django_mongodb_engine'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question