diff --git a/roles/mailman3/templates/settings.py.j2 b/roles/mailman3/templates/settings.py.j2 index 9af5ca9e4b..7249269cb1 100644 --- a/roles/mailman3/templates/settings.py.j2 +++ b/roles/mailman3/templates/settings.py.j2 @@ -13,7 +13,11 @@ from mailman_web.settings.mailman import * # noqa: F403 SECRET_KEY = '{{ mailman_hyperkitty_cookie_key }}' # SECURITY WARNING: don't run with debug turned on in production! +{% if env = 'staging' %} +DEBUG = True +{% else %} DEBUG = False +{% endif %} ADMINS = ( ('HyperKitty Admin', 'abompard@fedoraproject.org'),