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. | Where does Django begin looking for template files when they are specified in an extends or include command? |
2. | Which tag should be used to embed another template file into an existing one? |
3. | Which template file is parsed first—the parent or the child? |
Quiz Answers
1. | It looks in the directories specified by the TEMPLATE_DIRS setting in the settings.py file. |
2. | include. |
3. | The child template. |