#36669 closed Cleanup/optimization (fixed)
Document `Negative indexing is not supported` for slicing F() expressions
Reported by: | AJ Collins | Owned by: | AJ Collins |
---|---|---|---|
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
Change History (5)
comment:1 by , 33 hours ago
Description: | modified (diff) |
---|
comment:2 by , 33 hours ago
Owner: | set to |
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Ready for checkin |
Version: | 5.2 → dev |
comment:3 by , 13 hours ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In f715bc8: