sitemaps.Sitemap.protocol

protocol

Optional.

This attribute defines the protocol ('http' or 'https') of the URLs in the sitemap. If it isn’t set, the protocol with which the sitemap was requested is used. If the sitemap is built outside the context of a request, the default is 'http'.

doc_Django
2016-10-09 18:39:39
Comments
Leave a Comment

Please login to continue.