1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Changed FlatpageSitemap to FlatPageSitemap, to be consistent with FlatPage model

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-08-31 23:31:25 +00:00
parent 0a11c82b04
commit a30653ac54
2 changed files with 8 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ class Sitemap:
urls.append(url_info)
return urls
class FlatpageSitemap(Sitemap):
class FlatPageSitemap(Sitemap):
def items(self):
from django.contrib.sites.models import Site
current_site = Site.objects.get_current()