Ticket #3106: django_sitemap.diff

File django_sitemap.diff, 545 bytes (added by Bastian Kleineidam <calvin@…>, 18 years ago)
  • django/contrib/sitemaps/__init__.py

     
    2929
    3030    from django.contrib.sites.models import Site
    3131    current_site = Site.objects.get_current()
    32     url = "%s%s" % (current_site.domain, sitemap)
     32    url = "%s%s" % (current_site.domain, sitemap_url)
    3333    params = urllib.urlencode({'sitemap':url})
    3434    urllib.urlopen("%s?%s" % (ping_url, params))
    3535
Back to Top