Change password reset email URL to hard coded URL.
--- a/pytask/templates/registration/password_reset_email.html Mon Jan 31 01:22:18 2011 +0530
+++ b/pytask/templates/registration/password_reset_email.html Mon Jan 31 01:36:43 2011 +0530
@@ -4,7 +4,9 @@
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
-{{ protocol }}://{{ domain }}{% url auth_password_reset_confirm uidb36=uid, token=token %}
+{% comment%}TODO: URL is hardcoded because domain already contains the URL prefix.
+Should fix this hard coded URL.{% endcomment %}
+{{ protocol }}://{{ domain }}/accounts/password/reset/confirm/{{ uid }}-{{ token }}
{% endblock %}
{% trans "Your username, in case you've forgotten:" %} {{ user.username }}