fixed call_back for success in team edit

This commit is contained in:
2021-11-10 15:17:52 -06:00
parent 670350b256
commit ee44726ab7

View File

@@ -25,7 +25,7 @@ def edit(request, id=0):
# ...
# redirect to a new URL:
new_event, did_create = Event.objects.update_or_create(pk=id, defaults=form.cleaned_data)
return render(request, 'success.html', {'call_back':'players list'})
return render(request, 'success.html', {'call_back':'schedule'})
# if a GET (or any other method) we'll create a blank form
else: