Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Simple Django Menus

https://img.shields.io/travis/borgstrom/django-simple-menu.svg https://img.shields.io/codecov/c/github/borgstrom/django-simple-menu.svg Latest PyPI version Number of PyPI downloads

django-simple-menu is an entirely code based menu system, because, who really wants to define their menus in the django admin…

It’s simple to use, yet provides enough flexibility to provide unlimited children menus, per-request generation and checking of menu items, badges, and more.

Quickstart

Using django-simple-menu is easy.

Install django-simple-menu in your virtualenv and then add menu to your INSTALLED_APPS. Please ensure that you have django.core.context_processors.request listed in the TEMPLATE_CONTEXT_PROCESSORS setting.

For each of your own apps that you want to expose a menu create a new file named menus.py and define your menus using the Menu and MenuItem classes you can import from the menu namespace.

In a template you want to render a menu first {% load menu %} then call {% generate_menu %} inside a block and a new varaible named menus will be added to the context. You can now iterate over this menus object to render your menus.

To quickly see everything in action and evaluate django-simple-menut please check out the example project.

Documentation

The full documentation is located in the docs directory and can be viewed at:

https://django-simple-menu.readthedocs.org

Requirements

Django 1.6+

Metadata

Release files for django-simple-menu 1.2.0

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for django-simple-menu 1.2.0
File Size Uploaded
django-simple-menu-1.2.0.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-simple-menu 1.2.0
File Interpreter ABI Platform
django_simple_menu-1.2.0-py2-none-any.whl Python 2 none any Details

Total release size: 26.0 kB

Release files / django-simple-menu-1.2.0.tar.gz

Download URL django-simple-menu-1.2.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
718b4f22968f33eae865bb45a8596e1a9af87de9da66c4e27ec13668163004ac
BLAKE2b-256 checksum
How to use checksums
bc7a8cba709f3264552714df2c5fcce3aa888b50b9fd25874b24007233894f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_simple_menu-1.2.0-py2-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL django_simple_menu-1.2.0-py2-none-any.whl
Size 9.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5e2f4ec731e0f287f9889cf42ac69311ee43925b6db3f2cce78fb1cec8341e1a
BLAKE2b-256 checksum
How to use checksums
e24b0b8a5a147730f259b234acc3914dd15ef5117cb573b6b3fc9c88d3b72c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.1.4

2 release files

2.1.3

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

1.2.1

2 release files

This release

1.2.0 This release

2 release files

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

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