FEAT #513: Implement email reminders to complete risk assessments (#514)

* FEAT #513: Implement email reminders to complete risk assessments

* Add missing f-string tag
This commit is contained in:
2022-11-19 15:34:15 +00:00
committed by GitHub
parent 37101d3340
commit 0117091f3e
14 changed files with 79 additions and 15 deletions

View File

@@ -42,8 +42,9 @@ if not DEBUG:
INTERNAL_IPS = ['127.0.0.1']
ADMINS = [('Tom Price', 'tomtom5152@gmail.com'), ('IT Manager', 'it@nottinghamtec.co.uk'),
('Arona Jones', 'arona.jones@nottinghamtec.co.uk')]
DOMAIN = env('DOMAIN', default='example.com')
ADMINS = [('IT Manager', f'it@{DOMAIN}'), ('Arona Jones', f'arona.jones@{DOMAIN}')]
if DEBUG:
ADMINS.append(('Testing Superuser', 'superuser@example.com'))