【发布时间】:2019-04-04 21:28:35
【问题描述】:
我正在尝试使用 django-rest-auth 密码重置功能,但在 /rest-auth/password/reset/ 发出帖子请求后,我收到标题中所述的错误 (Traceback),我不明白为什么。我按照文档页面中的安装过程进行操作。我的urls.py 是:
from django.urls import include, path
urlpatterns = [
path('users/', include('users.urls')),
path('rest-auth/', include('rest_auth.urls')),
path('rest-auth/registration/', include('rest_auth.registration.urls')),
我还在settings.py中添加了所需的应用程序
【问题讨论】:
标签: django django-rest-framework django-rest-auth