Skip to main content

A library that enables you to easily build your own tab navigation based on class based views.

Project description

Build status Coverage PyPI download stats

django-tabination is a lightweight (~70 SLOC) Django 1.4+ library that enables you to easily build your own tab navigation based on class based views.

It supports code based creation of tabs directly in your views, conditional displaying/hiding of a tab, translation of the tab labels, tab sorting, multi-level tab navigations and more.

  • Supported Django versions: 1.4, 1.5, 1.6

  • Supported Python versions: 2.6, 2.7, 3.3, 3.4, pypy2


The docs can be found at


You can install django-tabination directly from pypi using pip:

$ pip install django-tabination

Currently there is no further configuration needed. For more information about setup and usage, please refer to the docs.

Coding Guidelines

PEP8 via flake8 with max-line-width set to 99 and E126-E128 ignored.


Testing is implemented using tox and pytest. Violations of the coding guidelines will be counted as errors.

The easiest way to run the tests is by simply running tox:

$ pip install tox
$ tox

This will run all tests in different virtualenvs with different configuration. Currently there are around 6 different tox environments. They can be listed with the -l switch:

$ tox -l

To run the tests only in specific environments, use the -e switch:

$ tox -e py27-django14,py26-django15


Copyright 2012 - 2014 Danilo Bargen ( and contributors.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tabination-0.4.0.tar.gz (8.1 kB view hashes)

Uploaded source

Built Distributions

django_tabination-0.4.0-py3-none-any.whl (8.6 kB view hashes)

Uploaded 3 4

django_tabination-0.4.0-py2-none-any.whl (8.6 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page