[REFACTOR] Use constance variables in email template and add login URL

This commit is contained in:
2023-01-07 18:44:30 +00:00
parent cbd2158307
commit 4e82d363bc
3 changed files with 11 additions and 3 deletions

View File

@@ -348,6 +348,9 @@ CONSTANCE_CONFIG = {
'RELATIONSHIP_FORM_HELP': (
'',
'Help text to display at the top of relationship forms.'),
'DEPLOYMENT_URL': (
'http://localhost',
'URL at which this mapper tool is accessible'),
'PARENT_PROJECT_NAME': (
'',
'Parent project name'),
@@ -441,6 +444,9 @@ CONSTANCE_CONFIG_FIELDSETS = {
'ORGANISATION_LIST_HELP',
'RELATIONSHIP_FORM_HELP',
),
'Deployment': (
'DEPLOYMENT_URL',
),
} # yapf: disable
CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'