remotes/origin/feature/LIL-711
gzbender 7 years ago
parent c0ffef37d0
commit 6afe231c01
  1. 2
      apps/notification/tasks.py

@ -90,7 +90,7 @@ def sendgrid_update_recipients():
'last_login': user.last_login and user.last_login.strftime(date_format),
'last_course_purchase': last_course_purchase,
'last_school_purchase': last_school_purchase,
'gender': {User.NOT_DEFINED: '', User.MALE: 'Мужчина', User.FEMALE: 'Женщина'}[user.gender],
# 'gender': {User.NOT_DEFINED: '', User.MALE: 'Мужчина', User.FEMALE: 'Женщина'}[user.gender] if user.gender else '',
'birthday': user.birthday and user.birthday.strftime(date_format),
'date_joined': user.date_joined.strftime(date_format),
})

Loading…
Cancel
Save