Changes between Version 1 and Version 2 of Ticket #17664, comment 20
- Timestamp:
- Feb 19, 2018, 4:14:40 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17664, comment 20
v1 v2 16 16 17 17 My 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 19 This happens because there's no operator for it to match (https://github.com/django/django/blob/master/django/template/smartif.py#L174)