Django

Code

Ticket #4851: db-api.diff

File db-api.diff, 392 bytes (added by John Shaffer <jshaffer2112@gmail.com>, 1 year ago)
  • docs/db-api.txt

    old new  
    405405 
    406406    Entry.objects.all()[:5] 
    407407 
    408 This returns the fifth through tenth objects (``OFFSET 5 LIMIT 5``):: 
     408This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``):: 
    409409 
    410410    Entry.objects.all()[5:10] 
    411411