Boston Python Workshop/Saturday/Web app project: Difference between revisions

Line 518:
return HttpResponse("Hello, world. You're at the poll index.")
 
This is the simplest view possible. GoSave the views.py file, then go to "/polls/" in your browser, and you should see your text.
 
Now lets add a few more views. These views are slightly different, because they take an argument (which, remember, is passed in from whatever was captured by the regular expression in the URLconf):
Anonymous user