TypeError: view must be a callable or a list/tuple in the case of include() 的解決方法:
在django2.0.3中,需要按照如下方法解決:
from django.contrib import admin
from django.urls import path
from blog.views import hello
urlpatterns = [
path('admin/', admin.site.urls),
path(r'hello/', hello, name='hello')
]