Update settings used in emails

This commit is contained in:
2023-01-07 19:10:15 +00:00
parent 330ec1afe1
commit 2c1ebbc399

View File

@@ -45,7 +45,8 @@ class User(AbstractUser):
def send_welcome_email(self) -> None:
"""Send a welcome email to a new user."""
# Get exported data from settings.py first
context = settings_export(None)
# context = settings_export(None)
context = config
context.update({
'user': self,
})