Use get_absolute_url instead of show-event
This commit is contained in:
parent
4847309b50
commit
84e5f17cc9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue