skip to Main Content

Django was unable to create a connection to the 'postgres' database and will use the first PostgreSQL database instead -Coverage

I am trying to run python tests using coverage. However, when I try to run the command, the following error appears: $ python3 manage.py test Creating test database for alias 'default'... /workspace/.pip-modules/lib/python3.8/site-packages/django/db/backends/postgresql/base.py:304: RuntimeWarning: Normally Django will use a connection to…

VIEW QUESTION
Back To Top
Search