#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 -------------------------------------+-------------------------------------
Comment (by aaugustin): We don't want to support tri-valued boolean logic, especially in the template engine, which was designed with simplicity in mind. It's bad enough in Python code. -- Ticket URL: <https://code.djangoproject.com/ticket/17230#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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.