使用Django-Rest-Social-Auth与Simple-JWT遇NoReverseMatch错误求助
我正在基于drf social auth进行开发,使用Django-Rest-Social-Auth和Simple-JWT时遇到了如下错误:
NoReverseMatch at /api/login/social/jwt-pair/facebook/ 'http' is not a registered namespace
我的根urls.py(位于config文件夹下)配置代码如下:
path("api/login/", include("rest_social_auth.urls_jwt_pair"))
已经查阅过官方文档但没能解决该问题,希望有相关经验的开发者能提供帮助。
内容的提问来源于stack exchange,提问作者penguinz0
相关产品推荐
相关产品推荐

