mirror of
https://github.com/django/django.git
synced 2025-11-01 04:17:59 +00:00
Fixed #10574 -- Documented interaction between annotations and order_by.
In the future, I'd like to fix this properly, but the current behavior has the advantage of being consistent across the board (and changing it everywhere is backwards-incompatible with documented functionality). git-svn-id: http://code.djangoproject.com/svn/django/trunk@10172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
68288219cd
commit
6fa30faa79
2 changed files with 53 additions and 0 deletions
|
|
@ -296,6 +296,8 @@ a model which defines a default ordering, or when using
|
|||
ordering was undefined prior to calling ``reverse()``, and will remain
|
||||
undefined afterward).
|
||||
|
||||
.. _querysets-distinct:
|
||||
|
||||
``distinct()``
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue