#28917: Remove paginator's unordered queryset warning for a .none() queryset
-------------------------------------+-------------------------------------
     Reporter:  Jeremy Lainé         |                    Owner:  Junji Wei
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Core (Other)         |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 Discussion on PR led to conclusion that this could be resolved by having
 `QuerySet.ordered` return `True` when the queryset is empty. (Something is
 ordered if it always returns the same sequence. An empty QuerySet does,
 i.e. `[]`)

 Marking as "Patch needs improvement" pending that change.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28917#comment:5>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.150c7369db6073531a14eb3161a97cc3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to