Описание тега django-sekizai

Sekizai is a plugin for Django which provides support for dynamic adding of content into the template block tags.

django-sekizai is a pluggable django app that provides support for dynamic adding of content into the template block tags.

Sekizai means “blocks” in Japanese, and that’s what this application provides.

A fresh look at blocks.

With django-sekizai, you can define placeholders where your blocks get rendered and at different places in your templates append to those blocks. This is especially useful for CSS and JavaScript code. Your subtemplates can now define CSS and JavaScript files to be included, and the CSS will be nicely put at the top and the JavaScript code to the bottom, just like you should. Also, sekizai will ignore any duplicate content in a single block.