Skip to main content
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 notifications | RSS feed

This release

0.1 This release

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