From 84e5f17cc95aba3c56b96a1a2580c04aa4cd385a Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Wed, 25 Apr 2018 10:43:00 -0400 Subject: [PATCH] Use get_absolute_url instead of show-event --- get_together/views/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_together/views/events.py b/get_together/views/events.py index cedc39a..3a1ec5d 100644 --- a/get_together/views/events.py +++ b/get_together/views/events.py @@ -178,7 +178,7 @@ def add_place_to_event(request, event_id): if event.series is not None and event.series.place is None: event.series.place = new_place; event.series.save() - return redirect('show-event', event.id) + return redirect(event.get_absolute_url()) else: context = { 'event': event,