Skip to main content

Django Sekizai

Project description

pypi build coverage

Sekizai means “blocks” in Japanese, and that’s what this app 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. Your sub-templates can now define css and Javascript files to be included, and the css will be nicely put at the top and the Javascript to the bottom, just like you should. Also sekizai will ignore any duplicate content in a single block.

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).

Contribute to this project and win rewards

Because this is a an open-source project, we welcome everyone to get involved in the project and receive a reward for their contribution. Become part of a fantastic community and help us make django CMS the best CMS in the world.

We’ll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.

We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

Documentation

See REQUIREMENTS in the setup.py file for additional dependencies:

python django

Please refer to the documentation in the docs/ directory for more information or visit our online documentation.

Running Tests

You can run tests by executing:

virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-sekizai-4.0.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

django_sekizai-4.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file django-sekizai-4.0.0.tar.gz.

File metadata

  • Download URL: django-sekizai-4.0.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for django-sekizai-4.0.0.tar.gz
Algorithm Hash digest
SHA256 3304732a8da09e311df0f851185c9b2d57867126f2c73f00326f57d0ffbc2d68
MD5 762dba8a6a71132f1000c45bd2ab223f
BLAKE2b-256 319e707867ef4bb3ce64332afac4e2888e843937b2cfb60ba3e83ab824f9b235

See more details on using hashes here.

File details

Details for the file django_sekizai-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sekizai-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98ec08acf2670d441cf0f57ec0a3623f3e2e1a75a61735dec53162016f041284
MD5 05e0a02e7672aa17f434c8633a019f1a
BLAKE2b-256 924ea6ea39a7b8ce9ef3aa533d4c95995dc53756d4ebde834f22d107b47f1e8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page