Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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>
 
PREVIOUS NEXT
Tagged: #django #active #link
ADD COMMENT
Topic
Name
1+1 =