Cannot use custom formats after security fix in 1.8.7 (regression)
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.
https://github.com/django/django/pull/5719
Change History
(7)
Owner: |
changed from nobody to Gagaro
|
Status: |
new → assigned
|
Description: |
modified (diff)
|
Severity: |
Normal → Release blocker
|
Triage Stage: |
Unreviewed → Ready for checkin
|
Type: |
Uncategorized → Bug
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
https://github.com/django/django/pull/5719