P
P
Polishken2019-03-01 10:11:39
Django
Polishken, 2019-03-01 10:11:39

How to make If and Endif separated by separator?

{% if 'aaa' in request.get_full_path %} Succes {% endif %}
this is how it works, but how to do it through a separator | For example
{% if 'aaa|bbb' in request.get_full_path %} Succes {% endif %}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fixid, 2019-03-01
@Polishken

https://younglinux.info/python/operators.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question