Dear friends, I used to create a project: Because tables are not associated, we use non-relational database mongodb. the project development environment uses python + django and is deployed on ubuntu. At that time, pymongo was used to connect python to mongodb, and the engine was used to connect django to mongodb. Now we have a new requirement, and there are associations between tables. Therefore, I am going to add a mysql database. May you ask me if django can display the table content in mongodb and the table content in mysql at the same time when presenting the webpage? How to configure the... djangomysqlpythonmongodb database in settings. py
Dear friends, I used to create a project: Because tables are not associated, we use non-relational database mongodb. the project development environment uses python + django and is deployed on ubuntu. At that time, pymongo was used to connect python to mongodb, and the engine was used to connect django to mongodb.
Now we have a new requirement, and there are associations between tables. Therefore, I am going to add a mysql database.
May you ask me if django can display the table content in mongodb and the table content in mysql at the same time when presenting the webpage? How should I configure the database in settings. py?
Hope you can give me some advice. thank you very much.