mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; refs #23884.
This commit is contained in:
parent
65d55c4093
commit
c2d5f2903c
4 changed files with 2 additions and 109 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue