Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/password_reset/
Using the URLconf defined in Roland_web.urls, Django tried these URL patterns, in this order:
这是代码部分:
from django.conf.urls import url
from django.contrib.auth.views import LoginView, LogoutView, PasswordResetView, PasswordResetDoneView
from .import views
urlpatterns = [
url(r'^password_reset$', PasswordResetView, name='PasswordResetView'),
url(r'^password_reset/done$', PasswordResetDoneView, name='PasswordResetDoneView')
]