Fixed #4851 -- Fixed description of an example query in `db-api` docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9a1c21809e
commit
62f207caef
|
@ -409,7 +409,7 @@ For example, this returns the first 5 objects (``LIMIT 5``)::
|
|||
|
||||
Entry.objects.all()[:5]
|
||||
|
||||
This returns the fifth through tenth objects (``OFFSET 5 LIMIT 5``)::
|
||||
This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``)::
|
||||
|
||||
Entry.objects.all()[5:10]
|
||||
|
||||
|
|
Loading…
Reference in New Issue