mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
feat: Send welcome email from template
This commit is contained in:
@@ -157,6 +157,7 @@ THIRD_PARTY_APPS = [
|
||||
'django_countries',
|
||||
'django_select2',
|
||||
'rest_framework',
|
||||
'post_office',
|
||||
]
|
||||
|
||||
FIRST_PARTY_APPS = [
|
||||
@@ -378,12 +379,15 @@ else:
|
||||
|
||||
# Import customisation app settings if present
|
||||
|
||||
CUSTOMISATION_NAME = None
|
||||
TEMPLATE_NAME_INDEX = 'index.html'
|
||||
TEMPLATE_WELCOME_EMAIL_NAME = 'welcome-email'
|
||||
|
||||
try:
|
||||
from custom.settings import (
|
||||
CUSTOMISATION_NAME,
|
||||
TEMPLATE_NAME_INDEX
|
||||
TEMPLATE_NAME_INDEX,
|
||||
TEMPLATE_WELCOME_EMAIL_NAME
|
||||
)
|
||||
logger.info("Loaded customisation app: %s", CUSTOMISATION_NAME)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user