semvec/pypi-packages huggingface dataset:
sales_menu 0.1.1
The simple menu for Django.
License: BSD
Keywords: sales_menu

=============================
sales_menu
=============================

.. image:: https://badge.fury.io/py/sales_menu.png
    :target: https://badge.fury.io/py/sales_menu

.. image:: https://travis-ci.org/s-m-i-t-a/sales_menu.png?branch=master
    :target: https://travis-ci.org/s-m-i-t-a/sales_menu

.. image:: https://coveralls.io/repos/s-m-i-t-a/sales_menu/badge.png?branch=master
    :target: https://coveralls.io/r/s-m-i-t-a/sales_menu?branch=master

.. image:: https://requires.io/github/s-m-i-t-a/sales_menu/requirements.svg?branch=master
    :target: https://requires.io/github/s-m-i-t-a/sales_menu/requirements/?branch=master
    :alt: Requirements Status

The simple menu for Django.

..
    Documentation
    -------------

..
    The full documentation is at https://sales_menu.readthedocs.org.

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
kotti_quiz 0.1
Quiz Content Type for Kotti
License: BSD
Keywords: kotti addon

==========
kotti_quiz
==========

This is an extension to the Kotti CMS that allows you to add a quiz content type to your Kotti site.

`Find out more about Kotti`_

``kotti_quiz`` lets you create quizzes with freetext, single-choice and multi-choice answers.

Setup
=====

To activate the ``kotti_quiz`` add-on in your Kotti site, you need to add an entry to the ``kotti.configurators`` setting in your Paste Deploy config.
If you don't have a ``kotti.configurators`` option, add one.
The line in your ``[app:main]`` section could then look like this::

  kotti.configurators = kotti_quiz.kotti_configure

With this, you'll be able to add quiz items in your site.

Work in progress
================

``kotti_quiz`` is considered alpha software, not yet suitable for use in production environments.
The current state of the project is in no way feature complete nor API stable.
If you really want to use it in your project(s), make sure to pin the exact version in your requirements.
Not doing so will likely break your project when future releases become available.


Development
===========

Contributions to ``kotti_quiz`` are highly welcome.
Just clone its `Github repository`_ and submit your contributions as pull requests.

Testing
-------

|build status|_

``kotti_quiz`` aims to have 100% test coverage.
Please make sure that you add tests for new features and that all tests pass before submitting pull requests.
Running the test suite is as easy as running ``py.test`` from the source directory (you might need to run ``python setup.py dev`` to have all the test requirements installed in your virtualenv).


.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti
.. _Github repository: https://github.com/sbabrass/kotti_quiz
.. |build status| image:: https://secure.travis-ci.org/sbabrass/kotti_quiz.png?branch=master
.. _build status: http://travis-ci.org/sbabrass/kotti_quiz


Changelog
=========

0.1
---

- initial release