#6535: parser.compile_filter() does not support negative numbers
-------------------------------------+-------------------------------------
     Reporter:  Collin Grady         |                    Owner:  aaugustin
  <cgrady@…>                         |                   Status:  closed
         Type:  Bug                  |                  Version:  master
    Component:  Template system      |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  tplrf-fixed          |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by dirigeant):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 this issue already fixed.

 {{{
 s = "{% ifequal -1 -1 %}OK{% endifequal %}"
 t = template.Template(s)
 c = template.Context({})
 t.render(c)
 u'OK'
 }}}

 r10169 | mtredinnick | 2009-03-25 03:45:56 +0000 (Çrş, 25 Mar 2009) | 5
 lines
 Template filters now pass numerical arguments through as numbers.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/6535#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 https://groups.google.com/groups/opt_out.


Reply via email to