Ticket #7902: password_email_url.diff

File password_email_url.diff, 611 bytes (added by Bob Thomas <bthomas@…>, 7 years ago)

Replace hardcoded link with url tag

  • django/contrib/admin/templates/registration/password_reset_email.html

     
    66
    77{% trans "Feel free to change this password by going to this page:" %}
    88
    9 http://{{ domain }}/password_change/
     9http://{{ domain }}{% url django.contrib.auth.views.password_change %}
    1010
    1111{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
    1212
Back to Top