python - Page not found (404) Password reset link (local test) -
i have set build in password reset in django. it's working until going paste reset link got in email. when paste 404 error: page not found (404) request method: request url: http://127.0.0.1:8000/registration/reset/nw/4o1-b6d03123dbdd2fb0eab5/ raised by: taskoftheday.views.taskoftheday
i have password reset code in app called registration. error raised app have called taskoftheday.
what wrong?
django version 1.9
urls.py in registration app
from django.conf.urls import url, include . import views urlpatterns = [ url(r'^register/$', views.register, name='register'), url(r'^login/$', views.login_user, name='login_user'), url(r'^logout/$', views.logout_user, name='logout_user'), url('^', include('django.contrib.auth.urls')), ]
urls.py in main
urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^taskoftheday/', include('taskoftheday.urls')), url(r'^', include('taskoftheday.urls')), url(r'^analytics/', include('analytics.urls')), url(r'^progress/', include('progress.urls')), url(r'^goals/', include('goals.urls')), url(r'^registration/', include('registration.urls')), url(r'^', include('registration.urls')), url(r'thanks/', views.thanks), url(r'thanks_again/', views.thanks_again), url(r'^$', views.landing_page), ]
Comments
Post a Comment