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

Тел: +7 965 3737 888

446

Просмотров

0

Ответов

location context_processor

<p>A simple context_processor to include location info.  Useful for permalinks, site name references, and navigation bars.  For example:</p>
{% if location.path|match:"/$" %} class="current"{% endif %}

<p>See also my <a href="https://djangosnippets.org/snippets/1686/">match filter</a>.</p>

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