how to make an active link on django page code example
Example: django active link
pip install django-active-link
INSTALLED_APPS = (
'active_link',
)
{% load active_link_tags %}
<a href="{% url 'view-name' %}" class="{% active_link 'view-name' %}">Menu item</a>