﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27842	"class GenericSitemap doesn't handle ""protocol"" in __init__"	chex	chex	"django.contrib.sitemaps.GenericSitemap doesn't accept ""protocol"" in initial args or kwargs.


{{{
some_sitemap = GenericSitemap(
      info_dict={
            'queryset': SomeModel.objects.all(),
        },
        priority=0.6,
        changefreq='yearly',
    )
some_sitemap.protocol = 'https'
}}}
\\
[https://docs.djangoproject.com/en/1.10/_modules/django/contrib/sitemaps/#GenericSitemap GenericSitemap source]
Why not to pass protocol as  keyword argument?

some_sitemap = GenericSitemap(
      info_dict={
            'queryset': SomeModel.objects.all(),
        },
        priority=0.6,
        changefreq='yearly',
        protocol='https',
    )
}}}



"	New feature	assigned	contrib.sitemaps	1.10	Normal		sitemaps genericsitemap		Accepted	1	0	0	0	1	0
