From d81a9c50d84d515ddc8ee76ecc5ad5d86e210504 Mon Sep 17 00:00:00 2001 From: Jannis Date: Mon, 24 Mar 2014 17:58:05 +0100 Subject: [PATCH] Fixed typo in error message in django.contrib.sitemaps. --- django/contrib/sitemaps/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/sitemaps/__init__.py b/django/contrib/sitemaps/__init__.py index 86bb71b402..1100712991 100644 --- a/django/contrib/sitemaps/__init__.py +++ b/django/contrib/sitemaps/__init__.py @@ -117,7 +117,7 @@ class Sitemap(object): 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)