添加url映射出现问题
File "/Users/mac/python/mysite/mysite/urls.py", line 22, in <module>
url(r'hello', include('blog.views.hello')),
NameError: name 'include' is not defined
File "/Users/mac/python/mysite/mysite/urls.py", line 22, in <module>
url(r'hello', include('blog.views.hello')),
NameError: name 'include' is not defined
2017-02-28
举报