Skip to main content
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!

A Django app for managing content boxes(dishes)

Project Description
Django SideDish
==========================

Dishes are content boxes visible in various "side's" of your website

Whether, and where, a given dish will appear on a page depends on both the theme enabled and administrative dish settings. Dish settings are controlled from the SideDish administration. It is possible to control whether each dish is enabled where it will be placed on the page, and control the visibility of dish on each page.


Features
----------

- Control visibilty of dishes on each page from admin
- CKeditor support for body field
- Schedule options for publishing
- Template tags to render individual dishes or side's
- Templates for dishes and side's


Installation
----------

Add ``sidedish`` to your ``INSTALLED_APPS`` setting.


Usage
----------



Available settings
----------

SIDEDISH_SIDES = (('left', _('Left')),('right', _('Right')),)

List with side definitions.

SIDEDISH_STATUS_DRAFT = 1
SIDEDISH_STATUS_PUBLISHED = 2
SIDEDISH_STATUS_CHOICES = (
(SIDEDISH_STATUS_DRAFT, _("Draft")),
(SIDEDISH_STATUS_PUBLISHED, _("Published")),
)

Defines the various dish status choices.

Templates
----------

#### Template Tags

The following template tag libraries are available:

- `sidedish`: tags for dealing with dishes in general

#### sidedishes

Renders a side full of dishes

{% sidedishes 'side_name' %}

#### sidedish

Renders a individual dish

{% sidedish 'dish_slug'|dish_object %}


#### Template files

sidedish/sidedish.html
sidedish/side.html
Release History

Release History

This version
History Node

0.1

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