Browse files

[1.7.x] Fixed typo in error message in django.contrib.sitemaps.

Backport of d81a9c5 from master
  • Loading branch information...
1 parent eb1600e commit 345281b880ef69519656d23f898b899b02cd51cc @jnns jnns committed with timgraham Mar 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/sitemaps/
@@ -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)

0 comments on commit 345281b

Please sign in to comment.