https://groups.google.com/forum/#!topic/django-users/6mYFE2pgt0w
This is full info about new error On 10 April 2017 at 10:41, sarfaraz ahmed <[email protected]> wrote: > I fixed that i am facing new error. Posted as new problem > > regards, > Sarfaraz Ahmed > > On 10 April 2017 at 01:49, Matthew Pava <[email protected]> wrote: > >> As another user mentioned, you did not specify the name keyword argument >> for password_reset_done. You also have the line commented out in your urls >> file. >> >> >> >> # url(r'^password_reset/done/$', auth_views.password_reset_done, >> {'template_name': 'user_management/password_rese >> t_done.html','post_reset_redirect':'/reset/done/'}), >> >> >> >> should become >> >> >> >> url(r'^password_reset/done/$', auth_views.password_reset_done, >> {'template_name': 'user_management/password_rese >> t_done.html','post_reset_redirect':'/reset/done/'}, >> name='password_reset_done'), >> >> >> >> *From:* [email protected] [mailto:django-users@googlegro >> ups.com] *On Behalf Of *sarfaraz ahmed >> *Sent:* Sunday, April 9, 2017 3:13 PM >> *To:* [email protected] >> *Subject:* Re: Password reset custom view >> >> >> >> Here is full error message >> ------------------------------------------------------------ >> ------------------------ >> NoReverseMatch at /password_reset/ >> >> Reverse for 'password_reset_done' with arguments '()' and keyword arguments >> '{}' not found. 0 pattern(s) tried: [] >> >> 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 Python Path: >> >> ['G:\\DJANGO_Project\\project1', >> >> 'C:\\Python27\\lib\\site-packages\\django_extensions-1.4.9-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\six-1.9.0-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\werkzeug-0.9.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_cron-0.3.5-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_common_helpers-0.6.3-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\south-1.0.2-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_crontab-0.6.0-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_kronos-0.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\python_crontab-1.9.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_chronograph-0.3.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\python_dateutil-1.5-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\crontab-0.20.2-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_chroniker-0.6.8-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\psutil-2.2.0-py2.7-win32.egg', >> >> 'C:\\Python27\\lib\\site-packages\\celery-3.1.17-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\kombu-3.0.24-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\billiard-3.3.0.19-py2.7-win32.egg', >> >> 'C:\\Python27\\lib\\site-packages\\pytz-2014.10-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\amqp-1.4.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\anyjson-0.3.3-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_celery-3.1.16-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_kombu-0.9.4-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django_windows_tools-0.1.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\elasticsearch-1.3.0-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\urllib3-1.10.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\beautifulsoup-3.2.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\xmlutils-1.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\pillow-2.9.0-py2.7-win32.egg', >> >> 'C:\\Python27\\lib\\site-packages\\requests-2.7.0-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\openpyxl-2.3.4-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\et_xmlfile-1.0.1-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\jdcal-1.2-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\xlrd-0.9.4-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\webcolors-1.5-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\bpython-0.15-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\greenlet-0.4.9-py2.7-win32.egg', >> >> 'C:\\Python27\\lib\\site-packages\\curtsies-0.2.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\pygments-2.1.3-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\wcwidth-0.1.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\blessings-1.6-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\dnspython-1.14.0-py2.7.egg', >> >> 'C:\\Python27\\lib\\site-packages\\django-1.10.5-py2.7.egg', >> >> 'C:\\Windows\\system32\\python27.zip', >> >> 'C:\\Python27\\DLLs', >> >> 'C:\\Python27\\lib', >> >> 'C:\\Python27\\lib\\plat-win', >> >> 'C:\\Python27\\lib\\lib-tk', >> >> 'C:\\Python27', >> >> 'C:\\Python27\\lib\\site-packages', >> >> 'C:\\Python27\\lib\\site-packages\\win32', >> >> 'C:\\Python27\\lib\\site-packages\\win32\\lib', >> >> 'C:\\Python27\\lib\\site-packages\\Pythonwin'] >> >> Server time: Sun, 9 Apr 2017 20:09:38 +0000 >> >> ------------------------------------------------------------ >> ------------------------------------------------------------ >> -------------------------------------------------------- >> >> URL.py >> >> >> from django.conf.urls import url,include >> >> from django.conf.urls import url >> from django.conf.urls import include >> >> >> from . import views >> from views import * >> >> >> from django.contrib.auth import views as auth_views >> >> >> app_name ="user_management" >> >> 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<acti >> vation_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/',chang >> e_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/',chang >> e_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_redir >> ect':'/reset/done/'}), >> #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, >> {'post_reset_redirect':'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'), >> # >> >> ] >> >> Please help I m stuck >> >> >> >> >> >> -- >> 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/ms >> gid/django-users/CAEPJdiyJjDKKL6ft-k-bRgp6DV-sPnMLrA_ >> aRqE0A9Wdio7cQw%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAEPJdiyJjDKKL6ft-k-bRgp6DV-sPnMLrA_aRqE0A9Wdio7cQw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> 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/ms >> gid/django-users/a2f92d35a0494191a52119382ca9f4c9%40ISS1.ISS.LOCAL >> <https://groups.google.com/d/msgid/django-users/a2f92d35a0494191a52119382ca9f4c9%40ISS1.ISS.LOCAL?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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/CAEPJdiwap%2BC43UG5pHYag2qHW7k8T7FF%2BZxciPTH3bp0LuHF5A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

