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>
Virgin Programmer