I am trying to run the following command:
python3 run.py --compose-frontend run kpi python ./manage.py shell
but when I run the following command for example:
I get this message:
File "/opt/venv/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: auth_user
Which clearly indicates that I am not running with the correct env variables that allow me to connect to the Postgresql database.
How can I run a shell and connect to the already running db?