#17230: Broken boolean comparison in template 'if' '==' expression
-------------------------------------+-------------------------------------
     Reporter:  anatoly techtonik    |                    Owner:  nobody
  <techtonik@…>                      |                   Status:  closed
         Type:  Bug                  |                  Version:  1.2
    Component:  Template system      |               Resolution:  duplicate
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Changes (by ptone):

 * status:  reopened => closed
 * resolution:   => duplicate


Comment:

 at its core, this is really a dupe of #17229

 If you want something like this while the eval of those keywords is
 considered, just do:

 context.update({'true':True, 'false':False, 'none': None})

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

Reply via email to