This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

The simple menu for Django.

Quickstart

Install sales_menu:

pip install sales_menu

Add sales_menu to your INSTALLED_APPS list in your settings.

sales_menu requires that the request object be available in the context when you call the {% menu %} template tag. This means that you need to ensure that your TEMPLATE_CONTEXT_PROCESSORS setting includes django.core.context_processors.request, which it doesn’t by default.

And use in template:

{% menu_tags %}
{% menu %}

{% for item in menu %}

    <p>{{ item.text }}
    {% if menu_item in selected_menu_path %}
    &mdash; selected
    {% endif %}
    </p>

    {% for child in item.children %}
        <p>— {{ child.text }}</p>
    {% endfor %}
{% endfor %}

Features

  • TODO

History

0.0.1 (2014-04-09)

  • First release on PyPI.

0.1.0 (2014-09-30)

  • Fixed outdated requirements
  • Added requires.io badge
  • Run test on Django 1.7

0.1.1 (2014-09-30)

  • Fixed run on Django 1.4
Release History

Release History

0.1.1

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

0.0.1

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

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sales_menu-0.1.1.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Sep 30, 2014

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