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-3.0.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-sekizai-3.0.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for django-sekizai-3.0.0.tar.gz
Algorithm Hash digest
SHA256 7493b4ff4fa633c1b4c833051a2b3ad26458e481a781d2916b47272d2ea4012d
MD5 85247aa459d4c888b2ee27c0e379bcd7
BLAKE2b-256 50deef5c131d20499484810d71e4b63f06381585edc8279fe2539daee55d6513

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_sekizai-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for django_sekizai-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edc032788217382554ab6ab4997eb93a44768eee214652971c812fb74447ff34
MD5 23302388647b15ff5dcdb0bc138909d8
BLAKE2b-256 ab2f1df54860a975c7217355888d1e4dfa1d0df9d9d8c75975c37b35f1330e36

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