Code

Ticket #14805: sitemaps.diff

File sitemaps.diff, 1.1 KB (added by adamv, 4 years ago)
Line 
1diff --git a/django/contrib/sitemaps/management/commands/ping_google.py b/django/contrib/sitemaps/management/commands/ping_google.py
2index afff04b..7fa1690 100644
3--- a/django/contrib/sitemaps/management/commands/ping_google.py
4+++ b/django/contrib/sitemaps/management/commands/ping_google.py
5@@ -3,7 +3,7 @@ from django.contrib.sitemaps import ping_google
6 
7 
8 class Command(BaseCommand):
9-    help = "Ping google with an updated sitemap, pass optional url of sitemap"
10+    help = "Ping Google with an updated sitemap, pass optional url of sitemap"
11 
12     def execute(self, *args, **options):
13         if len(args) == 1:
14diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
15index b58b55c..eb29c6c 100644
16--- a/docs/ref/contrib/sitemaps.txt
17+++ b/docs/ref/contrib/sitemaps.txt
18@@ -346,6 +346,6 @@ Pinging Google via `manage.py`
19 .. versionadded:: 1.0
20 
21 Once the sitemaps application is added to your project, you may also
22-ping the Google server's through the command line manage.py interface::
23+ping Google using the ``ping_google`` management command::
24 
25     python manage.py ping_google [/sitemap.xml]