Opened 2 months ago
Closed 2 months ago
#36585 closed New feature (wontfix)
Add `DateConverter` for path resolving
| Reported by: | Y3K | Owned by: | Y3K |
|---|---|---|---|
| Component: | Core (URLs) | Version: | 5.2 |
| Severity: | Normal | Keywords: | url, path, converter, date, isoformat |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
(I searched for Converter on both tickets and feature submissions, didn't get any meaninful results.)
I believe there is value on having a built in DateConverter that follows ISO8601 format for path.
The code example that Django currently has in the docs does not produce ISO compatible date paths (i.e. month and day are not zero-padded).
Change History (4)
comment:1 by , 2 months ago
| Description: | modified (diff) |
|---|
comment:2 by , 2 months ago
| Description: | modified (diff) |
|---|---|
| Summary: | Add `DateConveter` for path resolving → Add `DateConverter` for path resolving |
comment:3 by , 2 months ago
| Has patch: | set |
|---|
comment:4 by , 2 months ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Thanks for this ticket, however the current thread is to keep Django a core framework, not providing every utility which might be useful.
Please follow triaging guidelines with regards to wontfix tickets, if you don't agree.