我正在使用django-registration 2.12和django 1.10。
我正在尝试使用django-registration。如果我在app_name
中加入urls.py
,我会收到错误
Reverse for 'auth_password_reset' with arguments '()' and keyword arguments '{}' not found.
登录网址。
我对该应用的urls.py是
from django.conf.urls import include, url
from . import views
app_name = 'my_app'
urlpatterns = [
url(r'^$', views.index_view, name='index'),
url(r'^about$', views.about_view, name='about'),
url(r'^data$', views.data_view, name='data'),
url(r'^accounts/', include('registration.backends.hmac.urls')),
]