Answers for "django active link"

0

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>
Posted by: Guest on November-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language