#24736: Replace magic 50000 Sitemap item limit with customizable value
----------------------------------+--------------------------------------
     Reporter:  Miserlou          |                    Owner:  nobody
         Type:  New feature       |                   Status:  new
    Component:  contrib.sitemaps  |                  Version:  1.8
     Severity:  Normal            |               Resolution:
     Keywords:  sitemap           |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  1                 |                    UI/UX:  0
----------------------------------+--------------------------------------

Comment (by MarkusH):

 Thanks for submitting this issue and patch. However, I'm -1 on adding a
 global settings variable if you can just override `limit` on your sitemap
 class much like `protocol`:
 
https://docs.djangoproject.com/en/1.8/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.protocol.
 Or am I missing something?

 If we're pursuing this issue I'd prefer to document `limit` as public API
 and mention that its value shouldn't exceed 50000.

--
Ticket URL: <https://code.djangoproject.com/ticket/24736#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ec3aafccd086d4d0e90b64ec286f304d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to