title: Django NoReverseMatch at /accounts/password/reset/ for password reset
body: <p>Just another NoReverseMatch at /accounts/password/reset/ question.
  I have tried so many different solutions and nothing is working for me.
  BTW I get no error if I try a random password that is not in the DB.</p>
  
  <p>Django 1.6</p>
  
  <p><strong>Error</strong></p>
  
  <pre><code>NoReverseMatch at /accounts/password/reset/
  Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword arguments '{u'uidb64': 'Mg', u'token': u'3vb-60fc793f1a685844bbe1'}' not found. 0 pattern(s) tried: []
  
  Error during template rendering
  
  In template /home/jr/Documents/python/amapp1/local/lib/python2.7/site-packages/django/contrib/admin/templates/registration/password_reset_email.html, error at line 7
  Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword arguments '{u'uidb64': 'Mg', u'token': u'3vb-60fc793f1a685844bbe1'}' not found. 0 pattern(s) tried: []
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>from django.conf.urls import patterns, url
  from django.contrib.auth.views import login, password_reset, password_reset_confirm, password_reset_done, password_reset_complete
  
  url(r'^password/reset/$', 'django.contrib.auth.views.password_reset',
   {'post_reset_redirect' : '/accounts/password/reset/done/'}),
  url(r'^password/reset/done/$', 'django.contrib.auth.views.password_reset_done'),
  url(r'^password/reset/(?P&lt;uidb64&gt;[0-9A-Za-z]+)-(?P&lt;token&gt;.+)/$', 'django.contrib.auth.views.password_reset_confirm',
   {'post_reset_redirect' : '/accounts/password/done/'}),
  url(r'^password/done/$', 'django.contrib.auth.views.password_reset_complete'),
  </code></pre>
  
  <p><strong>password_reset_email.html</strong></p>
  
  <pre><code>{{ protocol}}://{{ domain }}{% url 'django.contrib.auth.views.password_reset_confirm' uidb64=uid token=token %}
  </code></pre>
  
  <p>It is the link inside the password_reset_email.html template as I do receive the email and get no error if I remove the link.</p>