From 40f2fd580365bacc5c5b67a83a257003f1d94985 Mon Sep 17 00:00:00 2001 From: Pasi Vuohijoki Date: Fri, 25 Aug 2023 11:39:26 +0300 Subject: [PATCH] Changed the direct-reservation public ui path to 'suoravaraus' because all other url paths in public ui are in finnish. --- plotsearch/models/plot_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotsearch/models/plot_search.py b/plotsearch/models/plot_search.py index 43cfaf9b..e774f865 100755 --- a/plotsearch/models/plot_search.py +++ b/plotsearch/models/plot_search.py @@ -499,7 +499,7 @@ class DirectReservationLink(models.Model): targets = models.ManyToManyField(PlotSearchTarget) def get_external_url(self): - return "{}/direct-reservation/{}".format(settings.PUBLIC_UI_URL, self.uuid) + return "{}/suoravaraus/{}".format(settings.PUBLIC_UI_URL, self.uuid) class FAQ(models.Model):