Previous Page Next Page

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 type of sitemap class would you use to build sitemaps for generic views?
2.What argument can you pass to the django.contrib.sitemaps.views.sitemap view in the URL pattern to build a sitemap for a specific Sitemap class?
3.What attribute would you add to the Sitemap class to set the importance of the data in that class compared to other Sitemap classes on your own website?

Quiz Answers

1.The GenericSitemap class
2.The section argument
3.The priority attribute

Previous Page Next Page