mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.2.X] Fixed #11358: Don't include private flatpages in sitemap. Thanks dburke and mlavin.
Backport of [13734] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -215,8 +215,8 @@ The sitemap framework provides a couple convenience classes for common cases:
|
||||
.. class:: FlatPageSitemap
|
||||
|
||||
The :class:`django.contrib.sitemaps.FlatPageSitemap` class looks at all
|
||||
:mod:`flatpages <django.contrib.flatpages>` defined for the current
|
||||
:setting:`SITE_ID` (see the
|
||||
publicly visible :mod:`flatpages <django.contrib.flatpages>`
|
||||
defined for the current :setting:`SITE_ID` (see the
|
||||
:mod:`sites documentation <django.contrib.sites>`) and
|
||||
creates an entry in the sitemap. These entries include only the
|
||||
:attr:`~Sitemap.location` attribute -- not :attr:`~Sitemap.lastmod`,
|
||||
|
||||
Reference in New Issue
Block a user