mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
Update settings used in emails
This commit is contained in:
@@ -45,7 +45,8 @@ class User(AbstractUser):
|
|||||||
def send_welcome_email(self) -> None:
|
def send_welcome_email(self) -> None:
|
||||||
"""Send a welcome email to a new user."""
|
"""Send a welcome email to a new user."""
|
||||||
# Get exported data from settings.py first
|
# Get exported data from settings.py first
|
||||||
context = settings_export(None)
|
# context = settings_export(None)
|
||||||
|
context = config
|
||||||
context.update({
|
context.update({
|
||||||
'user': self,
|
'user': self,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user