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_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)