removed unused form in schedule_edit
This commit is contained in:
parent
51c35434f8
commit
e3c18a4554
1 changed files with 0 additions and 2 deletions
|
@ -50,11 +50,9 @@ def schedule_edit(request, slug=None):
|
||||||
|
|
||||||
days_qs = Day.objects.filter(schedule=schedule)
|
days_qs = Day.objects.filter(schedule=schedule)
|
||||||
days = [TimeTable(day) for day in days_qs]
|
days = [TimeTable(day) for day in days_qs]
|
||||||
form = SlotEditForm()
|
|
||||||
ctx = {
|
ctx = {
|
||||||
"schedule": schedule,
|
"schedule": schedule,
|
||||||
"days": days,
|
"days": days,
|
||||||
"form": form,
|
|
||||||
}
|
}
|
||||||
return render(request, "schedule/schedule_edit.html", ctx)
|
return render(request, "schedule/schedule_edit.html", ctx)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue