Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of TestPyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Django app that provides template tags to easily incorporate smartmenus (http://www.smartmenus.org/).


To get started using django-smartmenus:

  • install it with pip:

    $ pip install django-smartmenus
  • add the app to INSTALLED_APPS. If you are using Django CMS, make sure it’s before menus:

        'menus', #Only if you are using Django CMS


The best way to see how it works is exploring the example project. But for the impatient, all you need to do is:

  • load smartmenus tags in the templates:

    {% load smartmenus_tags %}
  • Call smartmenus template tags where css and js files should show:

    {% smartmenus_css theme %}
    <script src="path/to/jquery"></script>
    {% smartmenus_js %}

    theme is a string based parameter. Out of box, theme can be one of ‘sm-blue’, ‘sm-clean’, ‘sm-mint’ and ‘sm-simple’. If you create a custom theme of your own, please put the theme file under static folder following smartmenus theme folder structure convention, ie. smartmenus/css/theme/theme.css.

  • Render menu html in the templates. Please refer to smartmenus tutorial to see what the html should be.

This app also supports Django CMS:

  • load smartmenus and menu tags in the templates:

    {% load menu_tags smartmenus_tags %}
  • Call Django CMS specific template tags anywhere in the templates:

    {% addtoblock "js" %}<script src="path/to/jquery"></script>{% endaddtoblock %}
    {% smartmenu_bootstrap_cms theme %}

    theme’s usage is the same as above.

  • Render Django CMS menu:

    <ul class="sm theme-class-name">
        {% show_menu 0 100 100 100 %}

    theme-class-name is a string based parameter. Please refer to smartmenus doc regarding possible values. Usually it’s the same as theme name unless it’s a custom theme with different naming conventions.

Release History

Release History


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

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-smartmenus-0.1.0.tar.gz (38.6 kB) Copy SHA256 Checksum SHA256 Source Sep 2, 2015

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