mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
Attempt fix to make constance config accessible in email template
This commit is contained in:
@@ -46,10 +46,10 @@ class User(AbstractUser):
|
||||
"""Send a welcome email to a new user."""
|
||||
# Get exported data from settings.py first
|
||||
# context = settings_export(None)
|
||||
context = config
|
||||
context.update({
|
||||
context = {
|
||||
'user': self,
|
||||
})
|
||||
'config': config,
|
||||
}
|
||||
|
||||
logger.info('Sending welcome mail to user \'%s\'', self.username)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user