The workshop consists of a set of questions and answers designed to solidify your understanding of the material covered in this hour. Try answering the questions before looking at the answers.
1. | Which Django object class is used to generate web pages? |
2. | Which Django object class would contain the user object ID for a user who initiated an HTTP request? |
3. | What is a valid value after /Info/ in the following URL pattern?
(r'^People/Info/\d{1,2}/$', 'iFriends.People.views.details'), |
1. | HttpResponse |
2. | HttpRequest |
3. | A number between 1 and 99 |