Django template tags designed to help the navigation rendering
Project description
Django template tags to add active class on navigation menus
Prerequisites
Django 1.6, 1.7, 1.8
Python 2.7, 3.2, 3.3, 3.4
Installation
From sources
python setup.py install
From PyPi
pip install django-navhelper
Configure your Django installation
Add geelweb.django.navhelper in your INSTALLED_APPS.
Ensure django.core.context_processors.request is in TEMPLATE_CONTEXT_PROCESSORS. Make sure you keep the components required by the features of Django you wish to use, in doubt keep the default values.
Settings
You can customize some options using settings
NAVHELPER_ACTIVE_CLASS
Default: ‘active’
The class name for active entries
NAVHELPER_NOT_ACTIVE_CLASS
Default: ‘’ (Empty string)
The class name for non-active entries
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.