title: Django password_reset view, what is link variable for template?
body: <p>According to Django's <a href="http://docs.djangoproject.com/en/1.2/topics/auth/#django.contrib.auth.views.password_reset" rel="nofollow">password_reset</a> view, it </p>
  
  <blockquote>
    <p>Allows a user to reset their password
    by generating a one-time use link that
    can be used to reset the password, and
    sending that link to the user's
    registered e-mail address.</p>
  </blockquote>
  
  <p>with the email being generated by a user-supplied template. What I can't find is the name of the <em>link variable</em> to use in the email-template (and it's not <strong>{{ link }}</strong> :)</p>
  
  <p>In the <em>django-registration</em> app, for instance, it's <em>{{ activation_key }}</em>.</p>
  
  <p>I even ran <em>{% debug %}</em> in my template to look at all the variables, and nothing looked obvious. Also, this is Django 1.2, not the development version.</p>
  
  <p>Update: my template looks like:</p>
  
  <pre><code>{{ protocol }}://localhost:8000{% url django.contrib.auth.views.password_reset_confirm uidb36=uid token=token %}
  
  Click on the link (or copy/paste into your browser), and then you can change your password
  </code></pre>
  
  <p>And gives me the result (in a text file simulating email):</p>
  
  <pre><code>http://localhost:8000/accounts/password/reset/confirm/12-2ws-1c60be00955ea4=
  a7a62e/
  
  Click on the link (or copy/paste into your browser), and then you can chang=
  e your password
  </code></pre>