From 5e959a24153e678e888ab271cb07b8bc1b124cf1 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Thu, 28 Sep 2023 10:56:27 +0100 Subject: [PATCH] Remove dc_signup_server Related to the change to the backend server in https://github.com/DemocracyClub/WhoCanIVoteFor/pull/1699 --- wcivf/apps/mailing_list/urls.py | 3 +-- wcivf/settings/base.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wcivf/apps/mailing_list/urls.py b/wcivf/apps/mailing_list/urls.py index a99b82517..403cee377 100644 --- a/wcivf/apps/mailing_list/urls.py +++ b/wcivf/apps/mailing_list/urls.py @@ -1,7 +1,7 @@ from dc_signup_form.forms import MailingListSignupForm from dc_signup_form.views import SignupFormView from django.conf import settings -from django.urls import include, re_path +from django.urls import re_path from django.views.decorators.csrf import csrf_exempt app_name = "mailing_list" @@ -19,5 +19,4 @@ ), name="mailing_list_signup_view", ), - re_path(r"^api_signup/v1/", include("dc_signup_form.signup_server.urls")), ] diff --git a/wcivf/settings/base.py b/wcivf/settings/base.py index 18557b942..7099a5caa 100644 --- a/wcivf/settings/base.py +++ b/wcivf/settings/base.py @@ -65,7 +65,6 @@ def repo_root(*x): "django.contrib.sites", "django_filters", "dc_signup_form", - "dc_signup_form.signup_server", "dc_utils", "mailing_list", "pipeline",