Replaced old unworkable email addesss in the 404 page with the current bugreport address, now configured in settings.py.

- Legacy-Id: 13224
This commit is contained in:
Henrik Levkowetz 2017-04-15 12:34:50 +00:00
parent d8cf039f6a
commit c445611904
4 changed files with 5 additions and 2 deletions

View file

@ -24,6 +24,7 @@ def revision_info(request):
'version_num': __version__+__patch__, 'version_num': __version__+__patch__,
'django_version': django.get_version(), 'django_version': django.get_version(),
'python_version': python_version(), 'python_version': python_version(),
'bugreport_email': settings.BUG_REPORT_EMAIL,
} }
def debug_mark_queries_from_view(request): def debug_mark_queries_from_view(request):

View file

@ -46,6 +46,8 @@ ADMINS = (
('Matt Larson', 'mlarson@amsl.com'), ('Matt Larson', 'mlarson@amsl.com'),
) )
BUG_REPORT_EMAIL = "datatracker-project@ietf.org"
PASSWORD_HASHERS = [ PASSWORD_HASHERS = [
'django.contrib.auth.hashers.Argon2PasswordHasher', 'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher', 'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',

View file

@ -12,6 +12,6 @@
<p> The requested URL was not found on this server. If you entered the URL <p> The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.</p> manually please check your spelling and try again.</p>
<p>If you think this is a server error, please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p> <p>If you think this is a server error, please contact <a href="mailto:{{ bugreport_email }}">{{ bugreport_email }}</a>.</p>
{% endblock %} {% endblock %}

View file

@ -145,7 +145,7 @@
{% endif %} {% endif %}
Report a bug: Report a bug:
<a href="https://tools.ietf.org/tools/ietfdb/newticket">Tracker:<span class="fa fa-bug"></span></a> <a href="https://tools.ietf.org/tools/ietfdb/newticket">Tracker:<span class="fa fa-bug"></span></a>
<a href="mailto:datatracker-project@ietf.org">Email:<span class="fa fa-envelope"></span></a> <a href="mailto:{{ bugreport_email }}">Email:<span class="fa fa-envelope"></span></a>
<br> <br>
Python {{ python_version }} | Python {{ python_version }} |
Django {{ django_version }} Django {{ django_version }}