Django URLconf 错误

Django URLconf error

我是 django 的初学者,我正在从这里学习。

http://www.madewithtea.com/simple-todo-api-with-django-and-oauth2.html

我在 运行 时遇到了这个错误。

这是我的 url 路由项目结构和代码。虽然我知道这是常见错误,但我对此一无所知。

我该如何解决这个问题?

在您的 url conf 中 http://127.0.0.1:8000/ 没有 URL。您需要通过执行以下操作为该页面定义 URL:

url(r'^$', name.of.the.view),