Merge remote-tracking branch 'origin/master'

remotes/origin/hotfix/LIL-661
nikita 7 years ago
commit 85e08aa8a4
  1. 2
      apps/payment/views.py

@ -168,7 +168,7 @@ class PaymentwallCallbackView(View):
if (sourcedate.month == 2 and sourcedate.day >= 28) or (sourcedate.day == 31 and result.day <= 30)\
or (sourcedate.month == 1 and sourcedate.day >= 29 and result.day == 28):
result = result.replace(day=1, month=result.month + 1)
return result
return result.datetime
def get_request_ip(self):
x_forwarded_for = self.request.META.get('HTTP_X_FORWARDED_FOR')

Loading…
Cancel
Save