Merge branch 'revert-70535700' into 'master'

Revert "Merge branch 'hotfix/lil-597' into 'master'"

See merge request lilcity/backend!75
remotes/origin/hotfix/lil-572
cfwme 8 years ago
commit d55406d635
  1. 3
      apps/school/views.py

@ -223,7 +223,8 @@ class SummerSchoolView(TemplateView):
school_schedules_purchased = []
if school_payment_exists and is_previous:
live_lessons = LiveLesson.objects.filter(
date__lt=(now_time - timedelta(days=1)).date(),
date__gte=school_payment.last().date_start,
date__range=[(now_time - timedelta(days=8)).date(), (now_time - timedelta(days=1)).date()],
deactivated_at__isnull=True,
)
live_lessons_exists = live_lessons.exists()

Loading…
Cancel
Save