Generated: Wed 2013-03-13 10:33 CET
Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/django/contrib/sitemaps/management/commands/ping_google.py
Stats: 0 executed, 7 missed, 2 excluded, 5 ignored
from django.core.management.base import BaseCommandfrom django.contrib.sitemaps import ping_googleclass Command(BaseCommand): help = "Ping Google with an updated sitemap, pass optional url of sitemap" def execute(self, *args, **options): if len(args) == 1: sitemap_url = args[0] else: sitemap_url = None ping_google(sitemap_url=sitemap_url)