NoReverseMatch: in the password reset form in Django-registration?

eagertoLearn

I get the following error when I access this URL http://127.0.0.1:8000/accounts/password/reset/

Request Method: GET
Request URL:    http://127.0.0.1:8000/accounts/password/reset/
Django Version: 1.6.2
Exception Type: NoReverseMatch
Exception Value:    
Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

my password_reset_form.html is

{% extends "registration/base.html" %}
{% load i18n %}

{% block breadcrumbs %}<div class="breadcrumbs"></div>{% endblock %}

{% block title %}{% trans "Password reset" %}{% endblock %}

{% block content %}

<h1>{% trans "Password reset" %}</h1>

<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>

<form action="" method="post">
    {% csrf_token %}
{{ form.email.errors }}
<p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
</form>

{% endblock %}

EDIT: I have corrected as suggested by frnhr, but the following error pops up.

TemplateSyntaxError at /accounts/password/reset/
Could not parse the remainder: ',' from 'uid,'
Request Method: POST
Request URL:    http://127.0.0.1:8000/accounts/password/reset/
Django Version: 1.6.2
Exception Type: TemplateSyntaxError
Exception Value:    
Could not parse the remainder: ',' from 'uid,'
Exception Location: /Users/sridhar/Documents/virtualenvs/django/django/lib/python2.7/site-packages/django/template/base.py in __init__, line 577
Python Executable:  /Users/sridhar/Documents/virtualenvs/django/django/bin/python
Python Version: 2.7.5
frnhr

Django-registration has not been made compatible with Djagno 1.6. This patch will fix your problem: https://bitbucket.org/ubernostrum/django-registration/pull-request/63/django-16-compatibility-fix-auth-views/diff

registration/auth_urls.py:

urlpatterns = patterns('',
                       url(r'^login/$',
                           auth_views.login,
                           {'template_name': 'registration/login.html'},
                           name='auth_login'),
                       url(r'^logout/$',
                           auth_views.logout,
                           {'template_name': 'registration/logout.html'},
                           name='auth_logout'),
                       url(r'^password/change/$',
                           auth_views.password_change,
                           {'post_change_redirect': reverse_lazy('auth_password_change_done')},
                           name='auth_password_change'),
                       url(r'^password/change/done/$',
                           auth_views.password_change_done,
                           name='auth_password_change_done'),
                       url(r'^password/reset/$',
                           auth_views.password_reset,
                           {'post_reset_redirect': reverse_lazy('auth_password_reset_done')},
                           name='auth_password_reset'),
                       url(r'^password/reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>.+)/$',
                           auth_views.password_reset_confirm,
                           name='auth_password_reset_confirm'),
                       url(r'^password/reset/complete/$',
                           auth_views.password_reset_complete,
                           {'post_reset_redirect': reverse_lazy('auth_password_reset_complete')},
                           name='auth_password_reset_complete'),
                       url(r'^password/reset/done/$',
                           auth_views.password_reset_done,
                           name='auth_password_reset_done'),
)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

NoReverseMatch in Django Password Reset

From Dev

NoReverseMatch in Django Password Reset

From Dev

django password reset NoReverseMatch error

From Dev

django password reset NoReverseMatch error

From Dev

Django - NoReverseMatch at /accounts/password_reset/

From Dev

NoReverseMatch error in password reset functionality django

From Dev

python Django reset password URL NoReverseMatch

From Dev

NoReverseMatch error in password reset functionality django

From Dev

NoReverseMatch at account/reset/done in django password reset feature

From Dev

Django : NoReverseMatch at when changing password using form

From Dev

Django User Registration - Password Reset via email

From Dev

How can I get the rest of a django-registration password reset form?

From Dev

NoReverseMatch after installing django-password-reset Django

From Dev

django customize reset password form

From Dev

How to customise drupal 7 user registration, login, password reset form

From Dev

NoReverseMatch at /accounts/password/reset/confirm

From Dev

NoReverseMatch at /accounts/password/reset/confirm

From Dev

Django NoReverseMatch in form redirect

From Dev

Removing second password input from django-registration form

From Dev

Removing second password input from django-registration form

From Dev

Django how to get password after registration form is submitted?

From Dev

NoReverseMatch at /user_details/reset-password

From Dev

Upgrade Django and NoReverseMatch password Error

From Dev

Login form / password reset

From Dev

Django Registration Registration_form

From Dev

Password reset django 1.6

From Dev

Reset password in Django

From Dev

reset password in Django 1.6

From Dev

Password reset django 1.6

Related Related

HotTag

Archive