I would have suggested just removing it, but curiously it seems that
people are
[https://github.com/search?utf8=%E2%9C%93&q=QuerySetPaginator+extension%3Apy&type=Code
still using it quite a lot]. We should formalize the deprecation.
--
Ticket URL: <https://code.djangoproject.com/ticket/29703>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/10330 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:1>
Comment (by Tim Graham):
I don't think it's worth the churn. A one line alias isn't adding any
maintenance overhead or clutter.
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:2>
Comment (by Jon Dufresne):
I think having an undocumented alias would only lead to confusion if it
were used. Removing it better follows the zen of Python "There should be
one-- and preferably only one --obvious way to do it.".
+1 for deprecating and removing.
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:3>
Comment (by Carlton Gibson):
> We should formalize the deprecation.
Is there any way of estimating of those search results how many are still
being updated? (I suspect a lot are not...)
**Question**: given that it's 10 years old and the fix would just be a
search and replace operation, could we not just remove it and mark it as a
breaking change?
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:4>
* stage: Unreviewed => Ready for checkin
Comment:
Django has been criticized for "needless deprecations" in the past, that's
why I'm skeptical. I don't care much though.
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ed4bfacb3c942d0d32795e1a733b1b9367afd2e9" ed4bfac]:
{{{
#!CommitTicketReference repository=""
revision="ed4bfacb3c942d0d32795e1a733b1b9367afd2e9"
Fixed #29703 -- Deprecated QuerySetPaginator alias.
Unused since 4406d283e13819b04556df21044089b7d119edb0.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"81993b47eaac3cea1ebbc610a3a6b824f5195523" 81993b47]:
{{{
#!CommitTicketReference repository=""
revision="81993b47eaac3cea1ebbc610a3a6b824f5195523"
Refs #29703 -- Removed QuerySetPaginator alias per deprecation timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29703#comment:7>