Changes between Version 1 and Version 2 of Ticket #17664, comment 20


Ignore:
Timestamp:
02/19/2018 04:14:40 PM (20 months ago)
Author:
Robert Roskam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17664, comment 20

    v1 v2  
    1616
    1717My reading so far feels incomplete in this area, but the way the parser seems to work is that if there is only 1 token to evaluate. It skips all the logic to eat the error. However, if it has multiple tokens, it hits all the appropriate logic.
     18
     19This happens because there's no operator for it to match (https://github.com/django/django/blob/master/django/template/smartif.py#L174)
Back to Top