Workshop
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.
Quiz
1. | Which template tag would you use to recursively add HTML code for items in a list? |
2. | What method should you use to add links to other views in a template? |
3. | Which tag could you use to reduce the number of keystrokes necessary to write a template when you have objects with long names? |
Quiz Answers
1. | The for tag. |
2. | You should use the url tag method so that you can directly reference the view. |
3. | The with tag. |