Ticket #8480: 8440.typo.diff

File 8440.typo.diff, 715 bytes (added by Julien Phalip, 16 years ago)
  • django/django/docs/db-api.txt

     
    617617Note that this is not quite the same as slicing from the end of a sequence in
    618618Python. The above example will return the last item first, then the
    619619penultimate item and so on. If we had a Python sequence and looked at
    620 ``seq[:-5]``, we would see the fifth-last item first. Django doesn't support
     620``seq[-5:]``, we would see the fifth-last item first. Django doesn't support
    621621that mode of access (slicing from the end), because it's not possible to do it
    622622efficiently in SQL.
    623623
Back to Top