第一天学习django,报错NameError: name 'include' is not defined,来记录一下错误


上网一查只用在django自动生成的包urls.py中加入

from django.conf.urls import include


成功运行
成功运行

完美解决,在此感谢喜欢海呀提供的博文


和喆
21 声望0 粉丝

程序人生...