This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Django template tags to add active class on navigation menus


  • Django 1.6, 1.7, 1.8
  • Python 2.7, 3.2, 3.3, 3.4


From sources

python 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.

Template tags


Returns “active” if the pattern is found in the request path

{% load navactive %}
<li class="{% renavactive request "^/start_with_foo" %}">
    <a href="{% url "view_name" }">Menu Entry</a>


You can customize some options using settings


Default: ‘active’

The class name for active entries


Default: ” (Empty string)

The class name for non-active entries

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-navhelper-0.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Oct 27, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting