I also encountered similar problems when using Docker before. My solution is to create a page and let python run a script. Execute python manage.py migrations
I figured it out today, I’m asking myself some questions.
In fact, it is to configure the database information provided by ACE in settings.py, name, password, host, port, and then run it locallypython manage.py migrations, because it is actually linked to the ACE database, and the operation is also for the remote database.
I also encountered similar problems when using Docker before.
My solution is to create a page and let python run a script. Execute python manage.py migrations
I figured it out today, I’m asking myself some questions.
In fact, it is to configure the database information provided by ACE in settings.py, name, password, host, port, and then run it locally
python manage.py migrations
, because it is actually linked to the ACE database, and the operation is also for the remote database.