Description

The authentication framework as a built in view (django.contrib.auth.views.password_reset) and form (django.contrib.auth.forms.PasswordResetForm) which send a user an e-mail inviting them to reset their password.

The e-mail assumes that the view 'django.contrib.auth.views.password_reset_confirm' will be at "{{ protocol }}:{{ domain }}/reset/{{ uid }}-{{ token }}/", whereas in fact it might be anywhere.

This patch calls reverse() to generate the correct URL for the e-mail.