From bc71eeb908f7e11f249fdb731512852756451d6a Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 11 Oct 2018 15:41:02 +0500 Subject: [PATCH] LIL-694 --- apps/notification/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/notification/tasks.py b/apps/notification/tasks.py index 5f6b37a4..00d05710 100644 --- a/apps/notification/tasks.py +++ b/apps/notification/tasks.py @@ -93,7 +93,9 @@ def sendgrid_update_recipients(): 'last_school_purchase': last_school_purchase, 'gender': {User.NOT_DEFINED: '', User.MALE: 'Мужчина', User.FEMALE: 'Женщина'}[user.gender], 'birthday': user.birthday and user.birthday.strftime(date_format), + 'date_joined': user.date_joined.strftime(date_format), }) sg = get_sendgrid_client() response = sg.client.contactdb.recipients.patch(request_body=data) + print(response.body)