#19308 closed Cleanup/optimization (fixed)
stringformat filter's documentation is confusing
Reported by: | Owned by: | ||
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
{{ value|stringformat:"s" }}
If value is "Joel is a slug", the output will be "Joel is a slug".
While technically correct, input = output in the template which is confusing.
Change History (5)
comment:1 by , 12 years ago
Component: | Uncategorized → Documentation |
---|---|
Has patch: | set |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull request at: https://github.com/django/django/pull/524