def test_delete(self):
        Day.objects.create(schedule=self.schedule, date=self.today)
        Day.objects.create(schedule=self.schedule, date=self.tomorrow)
        other_section = Section.objects.create(conference=self.conference, name='other')
        other_schedule = Schedule.objects.create(section=other_section)
        other_day = Day.objects.create(schedule=other_schedule, date=self.tomorrow)
        self.assertEqual(3, Day.objects.all().count())
        data = {'delete': 'Delete'}
        form = ScheduleSectionForm(data=data, schedule=self.schedule)
        form.delete_schedule()
        days = Day.objects.all()
        self.assertEqual(1, days.count())
        self.assertIn(other_day, days)
Saves the given price filter to session. Redirects to the category with
dataset/ETHPy150Open pinax/symposion/symposion/schedule/tests/test_forms.py/ScheduleSectionFormTests.test_delete--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/views.py/set_price_filter