#32208: add filter is unable to concatenate strings with lazy string
-------------------------------------------+------------------------
Reporter: Claude Paroz | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------------+------------------------
If you try to concatenate a string with a lazy string with the `add`
template filter, the result is always the empty string because the `add`
filter generates an exception (`TypeError: can only concatenate str (not
"__proxy__") to str`).
--
Ticket URL: <https://code.djangoproject.com/ticket/32208>
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/050.26cd1bd7e5415eb2b7f86701c776c37b%40djangoproject.com.