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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user