Changes between Version 3 and Version 11 of Ticket #27842


Ignore:
Timestamp:
Feb 27, 2017, 10:48:03 AM (7 years ago)
Author:
chex
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27842

    • Property Has patch set
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedNew feature
  • Ticket #27842 – Description

    v3 v11  
    1 django.contrib.sitemaps.GenericSitemap doesn't accept "protocol" in initial args and kwargs.
     1django.contrib.sitemaps.GenericSitemap doesn't accept "protocol" in initial args or kwargs.
    22
    33
     
    1414\\
    1515[https://docs.djangoproject.com/en/1.10/_modules/django/contrib/sitemaps/#GenericSitemap GenericSitemap source]
    16 Why not to pass protocol in info_dict argument?
     16Why not to pass protocol as  keyword argument?
     17
     18some_sitemap = GenericSitemap(
     19      info_dict={
     20            'queryset': SomeModel.objects.all(),
     21        },
     22        priority=0.6,
     23        changefreq='yearly',
     24        protocol='https',
     25    )
     26}}}
    1727
    1828
Back to Top