mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Changed the test from [8052] so that it is insensitive to whether a database
sorts NULLs first or last in a sequence or results. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8745beccb1
commit
d1ea8b2842
1 changed files with 2 additions and 2 deletions
|
@ -833,8 +833,8 @@ True
|
|||
|
||||
Bug #7791 -- there were "issues" when ordering and distinct-ing on fields
|
||||
related via ForeignKeys.
|
||||
>>> Note.objects.order_by('extrainfo__info').distinct()
|
||||
[<Note: n3>, <Note: n1>, <Note: n2>]
|
||||
>>> len(Note.objects.order_by('extrainfo__info').distinct())
|
||||
3
|
||||
|
||||
"""}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue