Permalink
Browse files

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

  • Loading branch information...
1 parent 51c8045 commit d81a9c50d84d515ddc8ee76ecc5ad5d86e210504 @jnns jnns committed with timgraham Mar 24, 2014
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)

0 comments on commit d81a9c5

Please sign in to comment.