mirror of https://github.com/django/django.git
[1.8.x] Fixed #24736 -- Documented the Sitemap.limit attribute
Backport of 9096e2b5f7
from master
This commit is contained in:
parent
0d6b7e4a88
commit
eb00b427fc
|
@ -234,6 +234,15 @@ Sitemap class reference
|
|||
sitemap was requested is used. If the sitemap is built outside the
|
||||
context of a request, the default is ``'http'``.
|
||||
|
||||
.. attribute:: Sitemap.limit
|
||||
|
||||
**Optional.**
|
||||
|
||||
This attribute defines the maximum number of URLs included on each page
|
||||
of the sitemap. Its value should not exceed the default value of
|
||||
``50000``, which is the upper limit allowed in the `Sitemaps protocol
|
||||
<http://www.sitemaps.org/protocol.html#index>`_.
|
||||
|
||||
.. attribute:: Sitemap.i18n
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
|
Loading…
Reference in New Issue