Author: russellm
Date: 2008-08-24 03:51:33 -0500 (Sun, 24 Aug 2008)
New Revision: 8517
Modified:
django/trunk/django/contrib/admin/templates/registration/password_reset_email.html
Log:
Fixed #8129: Modified the password reset email template to use a URL lookup, so
that the email doesn't require customization based on the way that the reset
view is deployed. Thanks to davenaff for the report and fix.
Modified:
django/trunk/django/contrib/admin/templates/registration/password_reset_email.html
===================================================================
---
django/trunk/django/contrib/admin/templates/registration/password_reset_email.html
2008-08-24 08:17:35 UTC (rev 8516)
+++
django/trunk/django/contrib/admin/templates/registration/password_reset_email.html
2008-08-24 08:51:33 UTC (rev 8517)
@@ -4,7 +4,7 @@
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
-{{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/
+{{ protocol }}://{{ domain }}{% url
django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %}
{% endblock %}
{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---