fix form error
This commit is contained in:
parent
224b9c8d57
commit
3039880b76
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def schedule_slot_edit(request, slot_pk):
|
|||
form = SlotEditForm(request.POST)
|
||||
|
||||
if form.is_valid():
|
||||
presentation = form.presentation
|
||||
presentation = form.cleaned_data["presentation"]
|
||||
presentation.slot = slot
|
||||
presentation.save()
|
||||
return redirect("schedule_edit")
|
||||
|
|
Loading…
Reference in a new issue