Previous Page Next Page

Exercises

1.Create an additional view for the People object that accepts the person's name instead of the pID.
2.Create an URL pattern in the URLconf file that collects the person's name from the URL request and passes it to the view you created in Exercise 1.
3.Use the META attribute of the HttpRequest object that is passed to the view you created in Exercise 1 to add metadata about the request to the web page the view generates.

Previous Page Next Page