Merge branch 'hotfix/LIL-650' into 'master'

LIL-650

See merge request lilcity/backend!140
remotes/origin/hotfix/LIL-661
cfwme 7 years ago
commit 7a189cb5ec
  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