Mistakenly, I was thinking that if no ordering was given on a Model's
Meta, ordering is by "-id". I was foolishly mistaken. My proposal is to
add to the documentation:
"If no ordering is given, results are returned from the database as is.
Ordering might be anything, semi-randomly."
--
Ticket URL: <https://code.djangoproject.com/ticket/26310>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* has_patch: 0 => 1
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
[https://github.com/django/django/pull/6235 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/26310#comment:1>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/26310#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"c0181f2c1f982d27cdcea2ed293aa34a3ecf7d8b" c0181f2c]:
{{{
#!CommitTicketReference repository=""
revision="c0181f2c1f982d27cdcea2ed293aa34a3ecf7d8b"
Fixed #26310 -- Documented that a queryset ordering must be specified to
ensure ordered results.
Thanks Simon Charette for review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26310#comment:3>