This is full url.py... i have made all templates.... I also used
name="password_reset_done". But still get same error

On 9 April 2017 at 18:19, ludovic coues <[email protected]> wrote:

> Do you mind to share your full urls.py file and the full traceback ?
>
> If I have to take a guess with the informations you have have shared,
> I would say the line
>
>        url(r'^password_reset/done/$', auth_views.password_reset_done,
> {'template_name':
> 'user_management/password_reset_done.html','post_reset_
> redirect':'password_reset_confirm'}),
>
> is missing an argument name="password_reset_done".
>
> 2017-04-09 7:26 GMT+02:00 sarfaraz ahmed <[email protected]>:
> >
> > urlpatterns =   [
> >                 url(r'^login/',login,name='login'),
> >                 url(r'^auth_view/',auth_view, name='auth_view'),
> >
> > url(r'^signup_success/',signup_success,name='signup_success'),
> >                 url(r'^signup/',signup,name='signup'),
> >                 url(r'^logout/',logout,name='logout'),
> >
> > url(r'^signup_confirm/(?P<activation_key>\w+)',signup_
> confirm,name='signup_confirm'),
> >                 url(r'^account_info/',account_info,name='account_info'),
> >                 url(r'^user_profile/',user_profile,name='user_profile'),
> >                 url(r'^address/',address,name='address'),
> >
> > url(r'^change_password/',change_password,name='change_password'),
> >                 url(r'^add_address/',add_address,name='add_address'),
> >
> > url(r'^edit_address/(?P<id>\d+)',edit_address,name='edit_address'),
> >
> > url(r'^delete_address/(?P<id>\d+)',delete_address,name='
> delete_address'),
> >
> > url(r'^change_password/',change_password,name='change_password'),
> >                 url(r'^email_test/',email_test,name='email_test'),
> >                 url(r'^password_reset/$', auth_views.password_reset
> > ,{'template_name':'user_management/password_reset.
> html','email_template_name':
> > 'user_management/password_reset_email.html'}),
> >                 url(r'^password_reset/done/$',
> > auth_views.password_reset_done,  {'template_name':
> > 'user_management/password_reset_done.html','post_reset_
> redirect':'password_reset_confirm'}),
> >
> > url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-
> z]{1,13}-[0-9A-Za-z]{1,20})/$',
> >                 auth_views.password_reset_confirm,
> > name='password_reset_confirm'),
> >                 url(r'^reset/done/$', auth_views.password_reset_
> complete,
> > {'template_name':'user_management/password_reset_complete.html'},name='
> password_reset_complete'),
> >                 ]
> >
> >
> > ------------------------------------------------------------
> ------------------------------------------------------------
> ------------------------
> > ERROR
> > ------------------------------------------------------------
> ------------------------------------------------------------
> ------------------------
> > Request Method: GET Request URL: http://127.0.0.1:8000/password_reset/
> > Django Version: 1.10.5 Exception Type: NoReverseMatch Exception Value:
> >
> > Reverse for 'password_reset_done' with arguments '()' and keyword
> arguments
> > '{}' not found. 0 pattern(s) tried: []
> >
> > Exception Location:
> > C:\Python27\lib\site-packages\django-1.10.5-py2.7.egg\
> django\urls\resolvers.py
> > in _reverse_with_prefix, line 392 Python Executable:
> C:\Python27\python.exe
> > Python Version: 2.7.9
> >
> > Please help
> >
> >
> > --
> > Thanks with regards,
> > Sarfaraz Ahmed
> >
> >
> >
> > --
> > Thanks with regards,
> > Sarfaraz Ahmed
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at https://groups.google.com/group/django-users.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/django-users/
> CAEPJdiyuqajjWMq2kk9FTVXhY7erWqeDG18qL6LFQeV8LQBTKA%40mail.gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
> Cordialement, Ludovic Coues
> +33 6 14 87 43 42
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAEuG%2BTY2Pk71uhdokD9f9rk8dyG2ihg6n
> FWTMMWGQQDc2xFG4Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks with regards,
Sarfaraz Ahmed

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPJdizGdfjHyUOdsnAcY7Kc5Kd8ANnetYsxVwC27hnu_-8duA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to