redirect to specific schedule url instead of general

This commit is contained in:
Luke Hatcher 2012-12-20 01:54:38 -05:00
parent 96541b968f
commit 4461c2f510

View file

@ -130,7 +130,7 @@ def schedule_slot_edit(request, slug, slot_pk):
slot.assign(presentation) slot.assign(presentation)
if save: if save:
slot.save() slot.save()
return redirect("schedule_edit") return redirect("schedule_edit", slug)
else: else:
form = SlotEditForm(slot=slot) form = SlotEditForm(slot=slot)
ctx = { ctx = {