class Sitemap [source] A Sitemap class can define the following methods/attributes:
protocol Optional. This attribute defines the protocol ('http'
limit Optional. This attribute defines the maximum number of URLs included
views.sitemap(request, sitemaps, section=None, template_name='sitemap.xml', content_type='application/xml') To activate sitemap
items [source] Required. A method that returns a list of objects. The framework
priority Optional. Either a method or attribute. If it’s a method, it should
class GenericSitemap [source] The django.contrib.sitemaps.GenericSitemap class
changefreq Optional. Either a method or attribute. If it’s a method, it should
lastmod Optional. Either a method or attribute. If it’s a method, it should
ping_google() [source] ping_google() takes an optional argument, sitemap_url
Page 1 of 2