Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Django Template Blocks with extra functionality
Python HTML
Branch: master
Failed to load latest commit information.
docs Fixed few bad <body> closing tags in doc
sekizai use python importlib when available
.gitignore removed unused test template
.travis.yml django version in travis.yml
LICENSE initial commit moved templates into the package
README.rst Change to inline link, other one didn't work 1.8 compatibility
setup.cfg added setup.cfg


Please refer to the documentation in the docs/ directory or on RTFD 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 it is the media handling framework for the django CMS (since version 2.2).
Something went wrong with that request. Please try again.