Ticket #3106: django_sitemap.diff
File django_sitemap.diff, 545 bytes (added by , 18 years ago) |
---|
-
django/contrib/sitemaps/__init__.py
29 29 30 30 from django.contrib.sites.models import Site 31 31 current_site = Site.objects.get_current() 32 url = "%s%s" % (current_site.domain, sitemap )32 url = "%s%s" % (current_site.domain, sitemap_url) 33 33 params = urllib.urlencode({'sitemap':url}) 34 34 urllib.urlopen("%s?%s" % (ping_url, params)) 35 35