Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Backport of d81a9c5 from master
  • Loading branch information...
commit 345281b880ef69519656d23f898b899b02cd51cc 1 parent eb1600e
@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.