From 178b71a2d3d5d93505ee3ca7f97d43ab8aecadfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=B8rl=C3=BCck=20Berg?= Date: Sat, 26 Oct 2024 15:02:48 +0200 Subject: [PATCH] Remove extra $ that gives wrong redirect --- apps/events/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/events/urls.py b/apps/events/urls.py index 0a1547cab..b08f76ad4 100644 --- a/apps/events/urls.py +++ b/apps/events/urls.py @@ -23,7 +23,7 @@ re_path( r"^(?P\d+)/(?P[a-zA-Z0-9_-]+)/$", lambda _r, event_id, event_slug: redirect( - f"https://online.ntnu.no/events/${event_id}", permanent=True + f"https://online.ntnu.no/events/{event_id}", permanent=True ), name="events_details", ),