Задать вопрос

Тел: +7 965 3737 888

460

Просмотров

0

Ответов

match filter

<p>A filter that re.matches a regex against a value.  Useful for nav bars as follows:</p>
{% if location.path|match:"/$" %} class="current"{% endif %}

<p>For location.path see my <a href="https://djangosnippets.org/snippets/1685/">location context_processor</a>.</p>

Вопрос полезен? Да0/Нет0
file_2318.py(203.0б)
None