diff --git a/apps/payment/views.py b/apps/payment/views.py index f47eef25..82251109 100644 --- a/apps/payment/views.py +++ b/apps/payment/views.py @@ -151,8 +151,6 @@ class SchoolBuyView(TemplateView): @method_decorator(csrf_exempt, name='dispatch') class PaymentwallCallbackView(View): - >> > - def add_months(self, sourcedate, months): month = sourcedate.month - 1 + months year = sourcedate.year + month // 12