Skip to main content

A lightweight package for handling menus and breadcrumbs in your django project

Project description

Django-navutils is a lightweight package for handling menu and breadcrumbs inside your django project.

Features:

  • No database calls

  • Highly customizable

  • User targeting in menu, so you can display a menu node to users that match a specific criteria (authenticated, anonymous, staff member, or any custom check)

  • Translatable

Requirements

  • Python >= 2.7 or >= 3.3

  • Django >= 1.7

The menu system may be integrated in any project, but the breadcrumbs part requires that you use class-based views.

Install

Package is available on pip and can be installed via pip install django-navutils.

You’ll also have to add navutils to your settings.INSTALLED_APPS

Also add the following to settings.CONTEXT_PROCESSORS:

CONTEXT_PROCESSORS = (
    # ...
    'navutils.context_processors.menus',
)

Usage

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-navutils-0.2.tar.gz (11.4 kB view details)

Uploaded Source

File details

Details for the file django-navutils-0.2.tar.gz.

File metadata

  • Download URL: django-navutils-0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-navutils-0.2.tar.gz
Algorithm Hash digest
SHA256 3315b850551f73b8721a7429ce3739313ce5256b0b89ad08c83887f1df1d5d05
MD5 bc31902c04334a60b3798aab5f8fa949
BLAKE2b-256 e241c6e9fea1744159307d2b254a1073bf83d6e029861373e9a2859d53157c54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page