#33748: django.utils.formats.get_format should allow lazy parameter
------------------------------------------------+------------------------
Reporter: Claude Paroz | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 4.1
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Commit [659d2421c7adb] (fixing #20296) triggered a regression when the
`date` template filter (possibly others are affected too) receives a lazy
string, like in `some_date|date:_('Y-m-d')`.
This fails with: `TypeError: getattr(): attribute name must be string` in
`django.utils.formats.get_format`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33748>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701810a12db98-f5a8f782-7676-4eae-8d46-38dfdc7e7715-000000%40eu-central-1.amazonses.com.