I\'ve been trying to learn Django for the past few days, but recently I\'ve stumbled upon a problem I can\'t seem to fix. After finishing Django\'s own tutorial on writing y
Import the urls.py module into your view. like this;
from django.http import HttpResponse from . import urls def index(request): return HttpResponse("Hello, world. You're at the poll index.")