removed unused form in schedule_edit

This commit is contained in:
Brian Rosner 2012-09-19 19:26:25 -06:00
parent 51c35434f8
commit e3c18a4554

View file

@ -50,11 +50,9 @@ def schedule_edit(request, slug=None):
days_qs = Day.objects.filter(schedule=schedule)
days = [TimeTable(day) for day in days_qs]
form = SlotEditForm()
ctx = {
"schedule": schedule,
"days": days,
"form": form,
}
return render(request, "schedule/schedule_edit.html", ctx)