django-sekizai
Django Sekizai
Decision gist · record as of 2026-08-14
Yes. Django Sekizai is production-stable, actively maintained, has no known vulnerabilities, and solves a real problem in Django template organization. The low install friction and permissive license make it a safe choice. The 1200-day gap since the last release is notable but the repository remains active with recent commits, suggesting the package is mature rather than abandoned. Install it if you're building Django projects with nested templates that need centralized CSS/JavaScript management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 3.2 or later and Python 3.8 or later; django-classy-tags must be installed as a runtime dependency.
- Low friction install with a pure Python wheel.
- Actively maintained with recent commits; last release was over 1200 days ago but the repository remains active and endorsed by the django CMS Association.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use this in commercial and closed-source projects with minimal restrictions beyond retaining the license notice.
last release 2023-05-02 (1200 days) · last repo commit 2026-08-03 · 468 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 353,721 downloads/mo, #7,301 on PyPI
Alternatives
Verify before relying
pip install django-sekizai
# In your Django template:
{% load sekizai_tags %}
{% addtoblock "css" %}<link rel="stylesheet" href="style.css">{% endaddtoblock %}
{% addtoblock "js" %}<script src="app.js"></script>{% endaddtoblock %}
# In your base template:
{% renderblock "css" %}
{% renderblock "js" %}- Whether the package works with Django versions beyond 4.2 (classifiers list only up to 4.2).
- Current test coverage and whether the 1200-day gap since last release reflects stability or stalled maintenance.
What it is and what it does
Django Sekizai is a template block management system for Django that solves the problem of organizing CSS and JavaScript includes across nested templates. Instead of scattering style and script tags throughout your template hierarchy, you define named blocks (called 'sekizai' blocks) in your base template and use template tags to append content to them from any sub-template. The package automatically deduplicates identical content within a block and can order CSS at the top and JavaScript at the bottom, following web best practices.
It's built on django-classy-tags and integrates with Django's template language through custom template tags. The package is production-stable, endorsed by the django CMS Association, and serves as the media handling framework for django CMS. It works with Django 3.2 through 4.2 and Python 3.8 or later, installing as a pure Python wheel with low friction.
Use it for
- Organize CSS and JavaScript includes from multiple sub-templates into a single base template without manual ordering.
- Prevent duplicate CSS or JavaScript files from being included multiple times when the same sub-template is rendered in different contexts.
- Build reusable template components that declare their own CSS/JS dependencies without knowing where they'll be rendered.
- Manage media assets in django CMS-based projects where sekizai is the standard media handling framework.
- Centralize CSS in the document head and JavaScript before the closing body tag across a complex template hierarchy.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Django Sekizai is production-stable, actively maintained, has no known vulnerabilities, and solves a real problem in Django template organization. The low install friction and permissive license make it a safe choice. The 1200-day gap since the last release is notable but the repository remains active with recent commits, suggesting the package is mature rather than abandoned. Install it if you're building Django projects with nested templates that need centralized CSS/JavaScript management.
Install
django-sekizai on PyPI
Before you install
Low friction install with a pure Python wheel. Actively maintained with recent commits; last release was over 1200 days ago but the repository remains active and endorsed by the django CMS Association.
Requires Django 3.2 or later and Python 3.8 or later; django-classy-tags must be installed as a runtime dependency.
License in practice
BSD-3-Clause is permissive; you can use this in commercial and closed-source projects with minimal restrictions beyond retaining the license notice.
Quickstart
pip install django-sekizai
# In your Django template:
{% load sekizai_tags %}
{% addtoblock "css" %}<link rel="stylesheet" href="style.css">{% endaddtoblock %}
{% addtoblock "js" %}<script src="app.js"></script>{% endaddtoblock %}
# In your base template:
{% renderblock "css" %}
{% renderblock "js" %}
Verify before relying
- Whether the package works with Django versions beyond 4.2 (classifiers list only up to 4.2).
- Current test coverage and whether the 1200-day gap since last release reflects stability or stalled maintenance.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangodjango-classy-tags |
| Maintenance | Actively maintained 1,200 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 353,721 / month, #7,301 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Framework :: Django :: 4.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software DevelopmentTopic :: Software Development :: Libraries |
Evidence: django_sekizai-4.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django template blocks”
- django-sekizaiDjango Sekizai provides template block management for Django, letting…
- django-premailerA Django template tag that converts CSS blocks into inline style…
- django-classy-tagsProvides a class-based system for writing Django template tags with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also django-classy-tags · django-cms · djangocms-admin-style · django-premailer · django-jinja · djangocms-text-ckeditor · django-js-asset · django-compressor · django-filer