Ticket #14805: sitemaps.diff

File sitemaps.diff, 1.1 KB (added by Adam Vandenberg, 13 years ago)
  • django/contrib/sitemaps/management/commands/ping_google.py

    diff --git a/django/contrib/sitemaps/management/commands/ping_google.py b/django/contrib/sitemaps/management/commands/ping_google.py
    index afff04b..7fa1690 100644
    a b from django.contrib.sitemaps import ping_google  
    33
    44
    55class Command(BaseCommand):
    6     help = "Ping google with an updated sitemap, pass optional url of sitemap"
     6    help = "Ping Google with an updated sitemap, pass optional url of sitemap"
    77
    88    def execute(self, *args, **options):
    99        if len(args) == 1:
  • docs/ref/contrib/sitemaps.txt

    diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
    index b58b55c..eb29c6c 100644
    a b Pinging Google via `manage.py`  
    346346.. versionadded:: 1.0
    347347
    348348Once the sitemaps application is added to your project, you may also
    349 ping the Google server's through the command line manage.py interface::
     349ping Google using the ``ping_google`` management command::
    350350
    351351    python manage.py ping_google [/sitemap.xml]
Back to Top