I had to spend some time figuring out why these were imported and never
used. I even thought the code example might be incomplete, until I checked
the source code.
I think it's better to remove these imports as they leave the reader
confused.
--
Ticket URL: <https://code.djangoproject.com/ticket/30036>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
Yep. Thanks. Would you like to make a PR for these changes, whilst they're
fresh in your mind?
--
Ticket URL: <https://code.djangoproject.com/ticket/30036#comment:1>
Comment (by Greg W):
I'll take it if OP doesn't want to do it.
--
Ticket URL: <https://code.djangoproject.com/ticket/30036#comment:2>
Comment (by Carlton Gibson):
Thanks Greg. I already have a patch ready. I just wanted to see if the OP
wanted to make a contribution...
--
Ticket URL: <https://code.djangoproject.com/ticket/30036#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"a394289b58b1773c4959ed768fdb325c91b2b589" a394289b]:
{{{
#!CommitTicketReference repository=""
revision="a394289b58b1773c4959ed768fdb325c91b2b589"
Fixed #30036 -- Removed unused imports in pagination example.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30036#comment:4>
Comment (by Carlton Gibson <carlton.gibson@…>):
In [changeset:"8d741bd88fa6bd14327f6fa791017d0773b41cf2" 8d741bd]:
{{{
#!CommitTicketReference repository=""
revision="8d741bd88fa6bd14327f6fa791017d0773b41cf2"
[2.1.x] Fixed #30036 -- Removed unused imports in pagination example.
Backport of a394289b58b1773c4959ed768fdb325c91b2b589 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30036#comment:5>