From 3ace4e45eb25fb208556b02caafb6e144c164c1d Mon Sep 17 00:00:00 2001 From: eatyourpeas Date: Wed, 1 Jan 2025 14:52:06 +0000 Subject: [PATCH] replace LAD endpoints --- rcpch_nhs_organisations/hospitals/urls.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rcpch_nhs_organisations/hospitals/urls.py b/rcpch_nhs_organisations/hospitals/urls.py index 8f3c858..e075bf6 100644 --- a/rcpch_nhs_organisations/hospitals/urls.py +++ b/rcpch_nhs_organisations/hospitals/urls.py @@ -3,6 +3,7 @@ from .views import ( OrganisationViewSet, IntegratedCareBoardViewSet, + LocalAuthorityDistrictViewSet, LocalHealthBoardViewSet, LondonBoroughViewSet, NHSEnglandRegionViewSet, @@ -44,6 +45,12 @@ viewset=LondonBoroughViewSet, basename="london_borough", ) +# Local Authority District endpoints +router.register( + r"local_authority_districts", + viewset=LocalAuthorityDistrictViewSet, + basename="london_borough", +) # NHS England Region endpoints router.register( r"nhs_england_regions",