diff --git a/.gitignore b/.gitignore index 8c05abf..703b7d7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ rcpch_nhs_organisations/api-key.env staticfiles staticdocs envs/.env -logs \ No newline at end of file +logs + +.DS_Store \ No newline at end of file diff --git a/rcpch_nhs_organisations/settings.py b/rcpch_nhs_organisations/settings.py index 2918709..43ccae0 100644 --- a/rcpch_nhs_organisations/settings.py +++ b/rcpch_nhs_organisations/settings.py @@ -94,11 +94,11 @@ DATABASES = { "default": { "ENGINE": "django.contrib.gis.db.backends.postgis", - "NAME": os.environ.get("PGDATABASE"), + "NAME": os.environ.get("PGDATABASENAME"), "USER": os.environ.get("PGUSER"), "PASSWORD": os.environ.get("PGPASSWORD"), - "HOST": os.environ.get("PGHOST"), "PORT": os.environ.get("PGPORT"), + "HOST": os.environ.get("PGHOST"), } }