From 5337e2d2fe4ada503cdbd19a4fd9d1a46808ab97 Mon Sep 17 00:00:00 2001 From: eatyourpeas Date: Thu, 6 Jun 2024 14:28:21 +0100 Subject: [PATCH] revert nhs-organisations url to api.rcpch.ac.uk --- project/npda/templates/npda_users.html | 2 +- project/npda/templates/partials/npda_user_table.html | 4 ++-- project/settings.py | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/project/npda/templates/npda_users.html b/project/npda/templates/npda_users.html index 129d4384..e9fd58a2 100644 --- a/project/npda/templates/npda_users.html +++ b/project/npda/templates/npda_users.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% load static %} {% block content %} -
+
{% url 'npda_users' as hx_post %} diff --git a/project/npda/templates/partials/npda_user_table.html b/project/npda/templates/partials/npda_user_table.html index e3363ecd..443b68a4 100644 --- a/project/npda/templates/partials/npda_user_table.html +++ b/project/npda/templates/partials/npda_user_table.html @@ -14,10 +14,10 @@ {% for npda_user in npdauser_list %} - +
NPDA User Unique ID - {{ npda_user.pk }} + {{ npda_user.pk }}
diff --git a/project/settings.py b/project/settings.py index f57b5a3b..fcf69482 100644 --- a/project/settings.py +++ b/project/settings.py @@ -49,10 +49,7 @@ RCPCH_CENSUS_PLATFORM_URL = os.getenv("RCPCH_CENSUS_PLATFORM_URL") RCPCH_CENSUS_PLATFORM_TOKEN = os.getenv("RCPCH_CENSUS_PLATFORM_TOKEN") # TODO #83 - Fix the broken env in Azure and remove hardcoded URL -RCPCH_NHS_ORGANISATIONS_API_URL = os.getenv( - "RCPCH_NHS_ORGANISATIONS_API_URL", - "https://rcpch-nhs-organisations.azurewebsites.net", -) +RCPCH_NHS_ORGANISATIONS_API_URL = os.getenv("RCPCH_NHS_ORGANISATIONS_API_URL") RCPCH_NHS_ORGANISATIONS_API_URL = "https://rcpch-nhs-organisations.azurewebsites.net" # This is the NHS Spine services - it does not require authentication