终端报错信息如下:
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, 即 执行pip install django==1.11 即可
本文详细解析了在使用Django2.0时遇到的关于包含3元组的错误,并提供了将Django版本回退到1.11以解决问题的具体步骤。
823

被折叠的 条评论
为什么被折叠?



