Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; refs #23884.

This commit is contained in:
Tim Graham 2015-01-17 14:14:15 -05:00
parent 65d55c4093
commit c2d5f2903c
4 changed files with 2 additions and 109 deletions

View file

@ -247,21 +247,7 @@ Sitemap class reference
Shortcuts
=========
The sitemap framework provides a couple convenience classes for common cases:
.. class:: FlatPageSitemap
.. deprecated:: 1.8
Use :class:`django.contrib.flatpages.sitemaps.FlatPageSitemap` instead.
The :class:`django.contrib.sitemaps.FlatPageSitemap` class looks at all
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`,
:attr:`~Sitemap.changefreq` or :attr:`~Sitemap.priority`.
The sitemap framework provides a convenience class for a common case:
.. class:: GenericSitemap