Khant Thu Linn
Khant Thu Linn

Reputation: 6133

Django URLconf error

I am a beginner to django and I am studying from here.

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

I got this error when I run.

enter image description here

This is my project structure and code for url routing. Although I know this is common error, I don't have clue for that.

enter image description here

How shall I solve that one?

Upvotes: 0

Views: 65

Answers (1)

xyres
xyres

Reputation: 21744

There is no URL for http://127.0.0.1:8000/ in your url conf. You'll need to define a URL for that page by doing something like this:

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

Upvotes: 1

Related Questions