#36669: Document `Negative indexing is not supported` for slicing F() 
expressions
-------------------------------------+-------------------------------------
     Reporter:  AJ Collins           |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  Documentation
      Version:  5.2                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 I was planning to use F() expression slicing to take off the last
 character of a field. I was met with `ValueError: Negative indexing is not
 supported.`

 I'd like to update the docs for
 
https://docs.djangoproject.com/en/6.0/ref/models/expressions/#slicing-f-expressions

  I have a PR ready to go as well
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36669>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070199ee5cbff6-db364873-fee4-4621-a44a-89cf9a9faa75-000000%40eu-central-1.amazonses.com.

Reply via email to