diff --git a/apps/users/models.py b/apps/users/models.py index 9795a1d..0f39a67 100644 --- a/apps/users/models.py +++ b/apps/users/models.py @@ -224,7 +224,11 @@ class User(AbstractUser): self.notify(body=str(self.otp), title='OTP') def notify(self, body, title=None, notification_type='sms'): - message = f"Your Winsoo code is: {body}\n{settings.SMS_OTP_SIGNITURE}" + message = ("وینسو" + "\n" + f"رمزیکبارمصرف: {body}" + "\n" + f"code is: {body}\n{settings.SMS_OTP_SIGNITURE}") send_sms(self.phone_number.strip('+'), message) return # TODO: enable celery