【问题标题】:Django Rest API - django-rest-authDjango Rest API - django-rest-auth
【发布时间】:2020-06-21 08:09:33
【问题描述】:

我已经在 pipenv 中安装了django-rest-auth 包。但是得到这个错误

【问题讨论】:

  • 能否在您的配置中显示您已安装的应用程序
  • @hendrikschneider 添加了它。
  • “rest_auth”后面少了一个逗号
  • Lmao man..django 为什么这么难...非常感谢。
  • 你愿意接受我的回答吗:)

标签: python django django-rest-auth


【解决方案1】:

INSTALLED_APPS 必须是一个列表。您在“rest_auth”和“profiles”之间缺少逗号。因此,正在导入一个模块“rest_authprofiles”。

【讨论】:

    猜你喜欢
    • 2017-01-31
    • 1970-01-01
    • 2016-07-08
    • 1970-01-01
    • 2020-10-03
    • 2017-12-02
    • 2015-07-10
    • 2017-09-04
    • 2016-02-03
    相关资源
    最近更新 更多