From e9a4ca87bbe263400b7d9b8444d915d0be3eb754 Mon Sep 17 00:00:00 2001 From: Haydn Greatnews Date: Tue, 3 Sep 2024 12:36:51 +1200 Subject: [PATCH] Set hostname for docker DB restore so we don't leave it unpopulated Also, remove a print statement --- cdhweb/pages/views.py | 1 - docker-compose.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cdhweb/pages/views.py b/cdhweb/pages/views.py index e4a66bca..2f45f89b 100644 --- a/cdhweb/pages/views.py +++ b/cdhweb/pages/views.py @@ -74,7 +74,6 @@ def get_queryset(self): form = self.get_form() if not form.is_valid(): - print(form.errors) return queryset.none() # get keyword query; support filters & phrase matching with double quotes diff --git a/docker-compose.yml b/docker-compose.yml index 7868bab7..0f9fd116 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,7 +42,7 @@ services: volumes: - "./docker/database:/docker-entrypoint-initdb.d/:ro" environment: - WAGTAIL_SITE_HOSTNAME: "${SITE_HOSTNAME}" + WAGTAIL_SITE_HOSTNAME: "cdh.dev.springload.nz" WAGTAIL_SITE_PORT: "443" POSTGRES_DB: "cdhweb" POSTGRES_USER: "cdhweb"