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) |     form = SlotEditForm(request.POST) | ||||||
|      |      | ||||||
|     if form.is_valid(): |     if form.is_valid(): | ||||||
|         presentation = form.presentation |         presentation = form.cleaned_data["presentation"] | ||||||
|         presentation.slot = slot |         presentation.slot = slot | ||||||
|         presentation.save() |         presentation.save() | ||||||
|     return redirect("schedule_edit") |     return redirect("schedule_edit") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Luke Hatcher
						Luke Hatcher