Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Django Template Blocks with extra functionality
Python HTML
Tag: 0.6.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
sekizai
test_templates
.gitignore
.travis.yml
LICENSE
README.rst
runtests.py
setup.py

README.rst

Please refer to the documentation in the docs/ directory for help.

About this project:

The main reason I started this project was the lack of a good media (css/js) framework in django and the django-cms. Yes there is the Media class used in forms in django, but really that doesn't work that well. Usually the frontend guys want to decide on css and javascript files to be included and they don't want to have to edit Python files to change that neither did I want them to change my Python files. Therefor there was a need to allow you to edit contents of templates which are before or after the point where you are now. Also I wanted duplicates to be removed. As a result I wrote django-sekizai, which does exactly that. It's similar to blocks, just instead of inheriting them, you extend them.

There are some issue/restrictions with this implementation due to how the django template language works, but if used properly it can be very useful and there are plans to make it the default media framework for plugins in the django-cms by version 2.2.

https://secure.travis-ci.org/ojii/django-sekizai.png?branch=master
Something went wrong with that request. Please try again.