#25812 closed Bug (fixed)
Cannot use custom formats after security fix in 1.8.7 (regression)
Description (last modified by ) ¶
Before the security fix in 1.8.7, we could have custom formats in formats.py files and used them. For example, if I have the following formats.py:
CUSTOM_DAY_FORMAT = 'd/m/Y CUSTOM'
I could used it:
>>> get_format('CUSTOM_DAY_FORMAT') 'd/m/Y CUSTOM'
But now it returns 'CUSTOM_DAY_FORMAT' instead.
Change History (7)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Has patch: | set |
---|
comment:3 by , 9 years ago
Description: | modified (diff) |
---|
comment:4 by , 9 years ago
Severity: | Normal → Release blocker |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/5719