项目部署时出现问题django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to inclu

论坛 期权论坛 脚本     
匿名技术用户   2020-12-22 15:17   16   0

终端提示信息如下:

django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supporte

Pass a 2-tuple containing the list of patterns and app_name, and provide the namespace argument to include() instead.

原因是由于之前下载的django版本是2.0的问题,把安装包改为django==1.11,问题就解决了

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP