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. | What template would you customize if you wanted to change the behavior of object lists in the admin interface? |
2. | Where would you put custom template files to customize only the Quote application in a site? |
3. | Should you put your own custom URLs before or after the django.contrib.admin.urls URLconf file in your site URLconf? |
4. | If you have the same template at the site, application, and object level in your custom admin templates, which file overrides the others? |
Quiz Answers
1. | The change_list.html template file. |
2. | In the admin/Quote subdirectory of your site template directory. |
3. | Definitely before. |
4. | The template located at the object level overrides the others, and then the application, and then the site. |