Тэг calculate не поддерживает условия начинающиеся с констант #56

Closed
opened 2 years ago by icerider · 0 comments
icerider commented 2 years ago

Переменная install.os.linux.pkglist список ['CLDX','CLD','base']

Шаблон

{% calculate comment='#', 'CLDX' in install.os.linux.pkglist %}
Template error: Can not parse token 'CLDX' in caluculate tag..

Шаблон (обходной вариант) работает

{% calculate comment='#', ('CLDX' in install.os.linux.pkglist) %}
Переменная `install.os.linux.pkglist` список `['CLDX','CLD','base']` Шаблон ``` {% calculate comment='#', 'CLDX' in install.os.linux.pkglist %} ``` ``` Template error: Can not parse token 'CLDX' in caluculate tag.. ``` Шаблон (обходной вариант) работает ``` {% calculate comment='#', ('CLDX' in install.os.linux.pkglist) %} ```
icerider added the
low
label 2 years ago
derzeitgeist closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.