diff --git a/tests/settings_postgres.py b/tests/settings_postgres.py index d1b647c..388b84a 100644 --- a/tests/settings_postgres.py +++ b/tests/settings_postgres.py @@ -5,7 +5,7 @@ print("DATABASES (before)", DATABASES) # this is the default database URL for the docker-compose setup -DEFAULT_DATABASE_URL = "postgres://postgres:postgres@postgres:5432/django_anonymiser" +DEFAULT_DATABASE_URL = "postgres://postgres:postgres@localhost:5432/django_anonymiser" DATABASE_URL = getenv("DATABASE_URL", DEFAULT_DATABASE_URL) print("DATABASE_URL", DATABASE_URL)