~/s/f/deploy docker compose run --rm api python manage.py migrate
WARN[0000] Found orphan containers ([deploy-nginx-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 2/0
⠿ Container deploy-redis-1 Created 0.0s
⠿ Container deploy-postgres-1 Running 0.0s
[+] Running 1/1
⠿ Container deploy-redis-1 Started 0.4s
Traceback (most recent call last):
File "/app/manage.py", line 16, in <module>
django.setup()
File "/venv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/venv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/venv/lib/python3.10/site-packages/django/apps/config.py", line 124, in create
mod = import_module(mod_path)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module