Changes between Version 3 and Version 11 of Ticket #27842
- Timestamp:
- Feb 27, 2017, 10:48:03 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27842
- Property Has patch set
- Property Triage Stage Unreviewed → Accepted
- Property Type Uncategorized → New feature
-
Ticket #27842 – Description
v3 v11 1 django.contrib.sitemaps.GenericSitemap doesn't accept "protocol" in initial args andkwargs.1 django.contrib.sitemaps.GenericSitemap doesn't accept "protocol" in initial args or kwargs. 2 2 3 3 … … 14 14 \\ 15 15 [https://docs.djangoproject.com/en/1.10/_modules/django/contrib/sitemaps/#GenericSitemap GenericSitemap source] 16 Why not to pass protocol in info_dict argument? 16 Why not to pass protocol as keyword argument? 17 18 some_sitemap = GenericSitemap( 19 info_dict={ 20 'queryset': SomeModel.objects.all(), 21 }, 22 priority=0.6, 23 changefreq='yearly', 24 protocol='https', 25 ) 26 }}} 17 27 18 28