Django Kamasutra v0.1.6 documentation

Settings

Below is a list of all the position settings

POSITION_CONTENT_OVERLAP_COUNT

The number of objects to keep after the position has added more items then its position.count specified. Default is 2.

POSITION_COMBINE_STRING

When retrieving a position with a prefix, this value is used to combine the prefix and the name. Default is ‘__’ (2 underscores).

POSITION_TEMPLATES

Dictionary of templates to be used when rendering a item.

Example

POSITION_TEMPLATES = {
    'stories.story': 'customtemplates/positions/stories/story.html',
    'blogs.blog': 'blogs/positions/blog.html',

}