Use get_absolute_url instead of show-event

This commit is contained in:
Michael Hall 2018-04-25 10:43:00 -04:00
parent 4847309b50
commit 84e5f17cc9

View file

@ -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,