#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          |
-------------------------------------+-------------------------------------

Comment (by dtrebbien):

 I prefer Aymeric's first patch. Preserving backward compatibility with
 behavior that contradicts the docs does not seem preferable to making the
 behavior conform to current wording. Also, I think that returning an empty
 string is more consistent with the template system's tendency to return
 nothing if there was an error (e.g.: attempting to print an undefined
 variable).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16676#comment:6>
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.

Reply via email to