You see, what I tried to explain in the last message, my friend was
that index in 'polls.views.index') doesnt point the url polls/ to the
index.html but to the function you are suppose to create in the
views.py file in your app directory.

Your view.py file (inside your poll app folder)should look like

from django.http import HttpResponse

def index(request):
    return HttpResponse("Hello world blah blah blah")

I can see that its a bit confusing.

Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to