Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo in error message in django.contrib.sitemaps.

  • Loading branch information...
commit d81a9c50d84d515ddc8ee76ecc5ad5d86e210504 1 parent 51c8045
@jnns jnns authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/sitemaps/__init__.py
View
2  django/contrib/sitemaps/__init__.py
@@ -117,7 +117,7 @@ def get_urls(self, page=1, site=None, protocol=None):
class FlatPageSitemap(Sitemap):
def items(self):
if not django_apps.is_installed('django.contrib.sites'):
- raise ImproperlyConfigured("ping_google requires django.contrib.sites, which isn't installed.")
+ raise ImproperlyConfigured("FlatPageSitemap requires django.contrib.sites, which isn't installed.")
Site = django_apps.get_model('sites.Site')
current_site = Site.objects.get_current()
return current_site.flatpage_set.filter(registration_required=False)
Please sign in to comment.
Something went wrong with that request. Please try again.