django-sekizai


Namedjango-sekizai JSON
Version 4.0.0 PyPI version JSON
download
home_pagehttps://github.com/django-cms/django-sekizai
SummaryDjango Sekizai
upload_time2022-07-26 11:51:16
maintainerDjango CMS Association and contributors
docs_urlNone
authorJonas Obrist
requires_python>=3.8
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements asgiref build bump2version cfgv click distlib django django-classy-tags filelock identify nodeenv packaging pep517 pip-tools platformdirs pre-commit pyparsing pyyaml sqlparse toml tomli virtualenv wheel
Travis-CI No Travis.
coveralls test coverage
            ==============
Django Sekizai
==============

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

.. note:: 
        
        This project is endorsed by the `django CMS Association <https://www.django-cms.org/en/about-us/>`_.
        That means that it is officially accepted by the dCA as being in line with our roadmap vision and development/plugin policy. 
        Join us on `Slack <https://www.django-cms.org/slack/>`_.


*******************************************
Contribute to this project and win rewards
*******************************************

Because this is a an open-source project, we welcome everyone to
`get involved in the project <https://www.django-cms.org/en/contribute/>`_ and
`receive a reward <https://www.django-cms.org/en/bounty-program/>`_ 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
<http://docs.django-cms.org/en/latest/contributing/index.html>`_.

We're grateful to all contributors who have helped create and maintain this package.
Contributors are listed at the `contributors <https://github.com/django-cms/django-sekizai/graphs/contributors>`_
section.


Documentation
=============

See ``REQUIREMENTS`` in the `setup.py <https://github.com/divio/django-sekizai/blob/master/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 <https://django-sekizai.readthedocs.io/en/latest/>`_.


Running Tests
-------------

You can run tests by executing::

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


.. |pypi| image:: https://badge.fury.io/py/django-sekizai.svg
    :target: http://badge.fury.io/py/django-sekizai
.. |build| image:: https://travis-ci.org/divio/django-sekizai.svg?branch=master
    :target: https://travis-ci.org/divio/django-sekizai
.. |coverage| image:: https://codecov.io/gh/divio/django-sekizai/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/divio/django-sekizai

.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg
    :target: https://pypi.org/project/django-sekizai/
.. |django| image:: https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg
    :target: https://www.djangoproject.com/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/django-cms/django-sekizai",
    "name": "django-sekizai",
    "maintainer": "Django CMS Association and contributors",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "info@django-cms.org",
    "keywords": "",
    "author": "Jonas Obrist",
    "author_email": "ojiidotch@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/31/9e/707867ef4bb3ce64332afac4e2888e843937b2cfb60ba3e83ab824f9b235/django-sekizai-4.0.0.tar.gz",
    "platform": null,
    "description": "==============\nDjango Sekizai\n==============\n\n|pypi| |build| |coverage|\n\nSekizai means \"blocks\" in Japanese, and that's what this app provides. A fresh\nlook at blocks. With django-sekizai you can define placeholders where your\nblocks get rendered and at different places in your templates append to those\nblocks. This is especially useful for css and javascript. Your sub-templates can\nnow define css and Javascript files to be included, and the css will be nicely\nput at the top and the Javascript to the bottom, just like you should. Also\nsekizai will ignore any duplicate content in a single block.\n\nThere are some issue/restrictions with this implementation due to how the\ndjango template language works, but if used properly it can be very useful and\nit is the media handling framework for the django CMS (since version 2.2).\n\n.. note:: \n        \n        This project is endorsed by the `django CMS Association <https://www.django-cms.org/en/about-us/>`_.\n        That means that it is officially accepted by the dCA as being in line with our roadmap vision and development/plugin policy. \n        Join us on `Slack <https://www.django-cms.org/slack/>`_.\n\n\n*******************************************\nContribute to this project and win rewards\n*******************************************\n\nBecause this is a an open-source project, we welcome everyone to\n`get involved in the project <https://www.django-cms.org/en/contribute/>`_ and\n`receive a reward <https://www.django-cms.org/en/bounty-program/>`_ for their contribution. \nBecome part of a fantastic community and help us make django CMS the best CMS in the world.   \n\nWe'll be delighted to receive your\nfeedback in the form of issues and pull requests. Before submitting your\npull request, please review our `contribution guidelines\n<http://docs.django-cms.org/en/latest/contributing/index.html>`_.\n\nWe're grateful to all contributors who have helped create and maintain this package.\nContributors are listed at the `contributors <https://github.com/django-cms/django-sekizai/graphs/contributors>`_\nsection.\n\n\nDocumentation\n=============\n\nSee ``REQUIREMENTS`` in the `setup.py <https://github.com/divio/django-sekizai/blob/master/setup.py>`_\nfile for additional dependencies:\n\n|python| |django|\n\nPlease refer to the documentation in the docs/ directory for more information or visit our\n`online documentation <https://django-sekizai.readthedocs.io/en/latest/>`_.\n\n\nRunning Tests\n-------------\n\nYou can run tests by executing::\n\n    virtualenv env\n    source env/bin/activate\n    pip install -r tests/requirements.txt\n    python setup.py test\n\n\n.. |pypi| image:: https://badge.fury.io/py/django-sekizai.svg\n    :target: http://badge.fury.io/py/django-sekizai\n.. |build| image:: https://travis-ci.org/divio/django-sekizai.svg?branch=master\n    :target: https://travis-ci.org/divio/django-sekizai\n.. |coverage| image:: https://codecov.io/gh/divio/django-sekizai/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/divio/django-sekizai\n\n.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg\n    :target: https://pypi.org/project/django-sekizai/\n.. |django| image:: https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg\n    :target: https://www.djangoproject.com/\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Django Sekizai",
    "version": "4.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "05e0a02e7672aa17f434c8633a019f1a",
                "sha256": "98ec08acf2670d441cf0f57ec0a3623f3e2e1a75a61735dec53162016f041284"
            },
            "downloads": -1,
            "filename": "django_sekizai-4.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "05e0a02e7672aa17f434c8633a019f1a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8578,
            "upload_time": "2022-07-26T11:51:15",
            "upload_time_iso_8601": "2022-07-26T11:51:15.023327Z",
            "url": "https://files.pythonhosted.org/packages/92/4e/a6ea39a7b8ce9ef3aa533d4c95995dc53756d4ebde834f22d107b47f1e8d/django_sekizai-4.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "762dba8a6a71132f1000c45bd2ab223f",
                "sha256": "3304732a8da09e311df0f851185c9b2d57867126f2c73f00326f57d0ffbc2d68"
            },
            "downloads": -1,
            "filename": "django-sekizai-4.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "762dba8a6a71132f1000c45bd2ab223f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 14183,
            "upload_time": "2022-07-26T11:51:16",
            "upload_time_iso_8601": "2022-07-26T11:51:16.518887Z",
            "url": "https://files.pythonhosted.org/packages/31/9e/707867ef4bb3ce64332afac4e2888e843937b2cfb60ba3e83ab824f9b235/django-sekizai-4.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-07-26 11:51:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "django-cms",
    "github_project": "django-sekizai",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "asgiref",
            "specs": [
                [
                    "==",
                    "3.5.2"
                ]
            ]
        },
        {
            "name": "build",
            "specs": [
                [
                    "==",
                    "0.8.0"
                ]
            ]
        },
        {
            "name": "bump2version",
            "specs": [
                [
                    "==",
                    "1.0.1"
                ]
            ]
        },
        {
            "name": "cfgv",
            "specs": [
                [
                    "==",
                    "3.3.1"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.3"
                ]
            ]
        },
        {
            "name": "distlib",
            "specs": [
                [
                    "==",
                    "0.3.5"
                ]
            ]
        },
        {
            "name": "django",
            "specs": [
                [
                    "==",
                    "4.0.8"
                ]
            ]
        },
        {
            "name": "django-classy-tags",
            "specs": [
                [
                    "==",
                    "3.0.1"
                ]
            ]
        },
        {
            "name": "filelock",
            "specs": [
                [
                    "==",
                    "3.7.1"
                ]
            ]
        },
        {
            "name": "identify",
            "specs": [
                [
                    "==",
                    "2.5.2"
                ]
            ]
        },
        {
            "name": "nodeenv",
            "specs": [
                [
                    "==",
                    "1.7.0"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "21.3"
                ]
            ]
        },
        {
            "name": "pep517",
            "specs": [
                [
                    "==",
                    "0.12.0"
                ]
            ]
        },
        {
            "name": "pip-tools",
            "specs": [
                [
                    "==",
                    "6.8.0"
                ]
            ]
        },
        {
            "name": "platformdirs",
            "specs": [
                [
                    "==",
                    "2.5.2"
                ]
            ]
        },
        {
            "name": "pre-commit",
            "specs": [
                [
                    "==",
                    "2.20.0"
                ]
            ]
        },
        {
            "name": "pyparsing",
            "specs": [
                [
                    "==",
                    "3.0.9"
                ]
            ]
        },
        {
            "name": "pyyaml",
            "specs": [
                [
                    "==",
                    "6.0"
                ]
            ]
        },
        {
            "name": "sqlparse",
            "specs": [
                [
                    "==",
                    "0.4.2"
                ]
            ]
        },
        {
            "name": "toml",
            "specs": [
                [
                    "==",
                    "0.10.2"
                ]
            ]
        },
        {
            "name": "tomli",
            "specs": [
                [
                    "==",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "virtualenv",
            "specs": [
                [
                    "==",
                    "20.16.0"
                ]
            ]
        },
        {
            "name": "wheel",
            "specs": [
                [
                    "==",
                    "0.38.1"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "django-sekizai"
}
        
Elapsed time: 0.02356s