mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Applying a limit to a queryset that already had an upper limit of 0 wasn't
working properly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -862,6 +862,8 @@ used in lookups.
|
||||
Bug #7698 -- People like to slice with '0' as the high-water mark.
|
||||
>>> Item.objects.all()[0:0]
|
||||
[]
|
||||
>>> Item.objects.all()[0:0][:10]
|
||||
[]
|
||||
|
||||
Bug #7411 - saving to db must work even with partially read result set in
|
||||
another cursor.
|
||||
|
||||
Reference in New Issue
Block a user