django urls.py更改遇到問題

Q:TypeError: view must be a callable or a list/tuple in the case of include() django A:django 1.10版本改了寫法了。首先要在引入view模塊,其次後面URL設置裏views.hello不要加引號了。 app E:url from django.conf.urls import urlspa from d
相關文章
相關標籤/搜索