#22885: Make Query.set_limits a setter
-------------------------------------+-------------------------------------
Reporter: jorgecarleitao | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Database layer | Resolution: wontfix
(models, ORM) | Triage Stage:
Severity: Normal | Unreviewed
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by jorgecarleitao):
Maybe the ticket was not clear enough, but it proposes a minor change of
the interface of `Query`, which is not part of the public API; it does not
proposes a new (public) interface of `QuerySet`. Is just that
`Query.set_limits` is adding to the limits, when IMO should be setting the
limits. The fix of this ticket would not change any public behavior (thus
being a cleanup/optimization).
--
Ticket URL: <https://code.djangoproject.com/ticket/22885#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/072.6ce2d9d927695d84105cde814b44c2a4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.