Opened 2 days ago
Last modified 34 hours ago
#36669 closed Cleanup/optimization
Document `Negative indexing is not supported` for slicing F() expressions — at Version 1
Reported by: | AJ Collins | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | AJ Collins | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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
Note:
See TracTickets
for help on using tickets.