0 points

django active navigation on template


PHOTO EMBED

Tue Dec 22 2020 09:02:28 GMT+0000 (UTC)

Saved by @lewiseman #python #django

{% if request.resolver_match.url_name == 'home' %} active {% endif %}
content_copyCOPY