#16676: The 'add' filter should stringify value or argument if the other value
is a
string
-------------------------------------+-------------------------------------
Reporter: dtrebbien | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Template system
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Design | Has patch: 1
decision needed | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by SmileyChris):
* stage: Ready for checkin => Design decision needed
Comment:
Although the documentation has stated (for quite some time) that it
returns an empty string, the current behavior of returning the original
input is an acceptable response to an error. The docs say:
> In case of error, they should return either the original input or an
empty string -- whichever makes more sense.
There could be minor elements of backwards incompatibility if we change
this. Perhaps just changing the docs to match the behavior would be
alright to do here?
--
Ticket URL: <https://code.djangoproject.com/ticket/16676#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.