diff --git a/ietf/context_processors.py b/ietf/context_processors.py index 786e538ee..9ef83e4ef 100644 --- a/ietf/context_processors.py +++ b/ietf/context_processors.py @@ -24,6 +24,7 @@ def revision_info(request): 'version_num': __version__+__patch__, 'django_version': django.get_version(), 'python_version': python_version(), + 'bugreport_email': settings.BUG_REPORT_EMAIL, } def debug_mark_queries_from_view(request): diff --git a/ietf/settings.py b/ietf/settings.py index 2988563b1..3bf3984af 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -46,6 +46,8 @@ ADMINS = ( ('Matt Larson', 'mlarson@amsl.com'), ) +BUG_REPORT_EMAIL = "datatracker-project@ietf.org" + PASSWORD_HASHERS = [ 'django.contrib.auth.hashers.Argon2PasswordHasher', 'django.contrib.auth.hashers.BCryptSHA256PasswordHasher', diff --git a/ietf/templates/404.html b/ietf/templates/404.html index 61c5ae9aa..5dcb2304e 100644 --- a/ietf/templates/404.html +++ b/ietf/templates/404.html @@ -12,6 +12,6 @@

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

-

If you think this is a server error, please contact webtools@ietf.org.

+

If you think this is a server error, please contact {{ bugreport_email }}.

{% endblock %} diff --git a/ietf/templates/base.html b/ietf/templates/base.html index 0d22e2d86..8c08c8cbd 100644 --- a/ietf/templates/base.html +++ b/ietf/templates/base.html @@ -145,7 +145,7 @@ {% endif %} Report a bug: Tracker: - Email: + Email:
Python {{ python_version }} | Django {{ django_version }}