mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #11358: Don't include private flatpages in sitemap. Thanks dburke and mlavin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
364583b894
commit
5912903852
4 changed files with 33 additions and 4 deletions
|
@ -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`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue