Skip to main content
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

Docs

The docs can be found at http://django-tabination.readthedocs.org/.

Installing

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

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
py26-django14
py26-django15
py27-django14
py27-django15
py34-django16
pypy-django14
pypy-django15

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

$ tox -e py27-django14,py26-django15

License

Copyright 2012 - 2014 Danilo Bargen (http://dbrgn.ch/) 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 http://www.gnu.org/licenses/lgpl.html.

Metadata

Release files for django-tabination 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tabination 0.4.0
File Size Uploaded
django-tabination-0.4.0.tar.gz 8.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for django-tabination 0.4.0
File Interpreter ABI Platform
django_tabination-0.4.0-py3-none-any.whl Python 3 none any Details
django_tabination-0.4.0-py2-none-any.whl Python 2 none any Details

Total release size: 25.3 kB

Release files / django-tabination-0.4.0.tar.gz

Download URL django-tabination-0.4.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4814e68fc52ca76a49d458063e8d0fe915fc7eec329306af444a1ad4e18db447
BLAKE2b-256 checksum
How to use checksums
d1f031577d907800406cc4d47a2ba825f7c115b37c9f97101fa2aa7e121e3ccd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_tabination-0.4.0-py3-none-any.whl

Download URL django_tabination-0.4.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fca46a340719c4c1746b05c96acbcfb72465b8383d2e7284278219155e7d9c27
BLAKE2b-256 checksum
How to use checksums
f6c4a12e00c60babb3d831f5e5588a23858af654fdcec31311e6652dc3a9d637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_tabination-0.4.0-py2-none-any.whl

Download URL django_tabination-0.4.0-py2-none-any.whl
Size 8.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3fbce76cf5bedfb797fb46bc1b2c2211fc92c9401d930a9d3e84ded516a409fd
BLAKE2b-256 checksum
How to use checksums
8488c83cd517dd49695f1fb03bb8411ebeaeae45075cbe37cb418a50e7488bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

3 release files

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page