From 2defa863bc0eaf4319616a815431e9ee81f26c36 Mon Sep 17 00:00:00 2001 From: nikita Date: Sat, 29 Sep 2018 15:03:24 +0300 Subject: [PATCH] Prolongation date_start revert --- apps/school/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/school/views.py b/apps/school/views.py index 0bc8529f..e86a309a 100644 --- a/apps/school/views.py +++ b/apps/school/views.py @@ -194,7 +194,7 @@ class SchoolView(TemplateView): 'school_schedules_purchased': school_schedules_purchased, 'school_purchased_future': False, 'subscription_ends': subscription_ends, - 'prolong_date_start': subscription_ends if subscription_ends else None, + 'prolong_date_start': subscription_ends + timedelta(days=1) if subscription_ends else None, 'allow_prolong': subscription_ends - date_now <= timedelta(days=7) if subscription_ends else False, }) return context