============
crispy-bulma
============
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://github.com/ckrybus/crispy-bulma/blob/main/LICENSE
.. image:: https://img.shields.io/github/actions/workflow/status/ckrybus/crispy-bulma/test.yml?branch=main
:target: https://github.com/ckrybus/crispy-bulma/actions
:alt: GitHub Workflow Status
.. image:: https://img.shields.io/pypi/v/crispy-bulma
:target: https://pypi.python.org/pypi/crispy-bulma
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/crispy-bulma
:target: https://pypi.python.org/pypi/crispy-bulma
:alt: PyPI - Python Version
.. image:: https://img.shields.io/pypi/djversions/crispy-bulma
:target: https://pypi.python.org/pypi/crispy-bulma
:alt: PyPI - Django Version
Bulma_ template pack for django-crispy-forms_
.. _Bulma: https://bulma.io/
.. _django-crispy-forms: https://github.com/django-crispy-forms/django-crispy-forms
Documentation: https://crispy-bulma.readthedocs.io.
Requirements
------------
Officially supported versions:
* Django: 4.2, 5.0
* Python 3.8, 3.9, 3.10, 3.11, 3.12
* django-crispy-forms 2.0, 2.1
* Bulma.css 0.9.4
Quickstart
----------
Install this plugin using `pip`::
$ pip install crispy-bulma
You will need to update your project's settings file to add ``crispy_forms``
and ``crispy_bulma`` to your projects ``INSTALLED_APPS``. Also set
``bulma`` as and allowed template pack and as the default template pack
for your project::
INSTALLED_APPS = (
...
"crispy_forms",
"crispy_bulma",
...
)
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
CRISPY_TEMPLATE_PACK = "bulma"
Credits
-------
* This project is based on an archived `crispy-forms-bulma <https://github.com/python-discord/django-crispy-bulma>`__ fork by Discord
* The original `crispy-forms-bulma <https://github.com/jhotujec/crispy-forms-bulma>`__ project is by Jure Hotujec
* This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
Related projects
----------------
crispy-bulma's focus is on form handling. This project assumes that you have already integrated bulma into your project, either manually or using some other package. If crispy-bulma does not meet your needs maybe one of these projects is of interest to you:
* `django-bulma <https://github.com/timonweb/django-bulma>`__ - an alternative way to use bulma forms. Does not use crispy forms.
* `django-simple-bulma <https://github.com/lemonsaurus/django-simple-bulma>`__ - can be used together with this project. Provides bulma integration and ads support for bulma extensions.
License
-------
MIT license
=======
History
=======
0.11.0 (2023-12-06)
-------------------
* Add support for Django 5.0
* Drop support for Django 3.2, 4.0 and 4.1
* Add support for django-crispy-forms 2.1
* BREAKING CHANGE: help text id attribute is now differently named:
``hint_{{ field.auto_id }}`` -> ``{{ field.auto_id }}_helptext``
0.10.0 (2023-07-03)
-------------------
* Drop support for Python 3.7
* Add support for Python 3.12
* Add support for Django 4.2
0.9.0 (2023-03-05)
------------------
* Drop support for django-crispy-forms 1.12.0, 1.13.0 and 1.14.0
* Add support for django-crispy-forms 2.0
* Drop support for Django 2.2
0.8.3 (2023-01-31)
------------------
* Fix Select widget error state rendering (the red border was missing).
0.8.2 (2023-01-29)
------------------
* Add support for Django 4.1
* Add support for Python 3.11
0.8.1 (2023-01-22)
------------------
* Fix DateField, DateTimeField and TimeField widget rendering
* Fix DecimalField, FloatField, IntegerField and URLField widget rendering. Fix contributed by pythonbrad.
* Fix FileUploadInput widget rendering. Fix contributed by pythonbrad.
* Fix passing attributes to IconField. Fix contributed by davy39.
0.8.0 (2022-04-28)
------------------
* Feature: add ``FormGroup`` layout object
* Fix ``Submit`` and ``Reset`` input rendering
* BREAKING CHANGE: ``Button`` is now rendered as ``<button></button>``.
For ``<input type="submit" />`` use ``Submit``.
* BREAKING CHANGE: Redesign IconField. Instead of ``IconField("envelope")`` call it with the
full icon class e.g. ``IconField("fa fa-envelope")``.
* Drop support for Django 3.1
* Drop support for Python 3.6
0.7.0 (2022-04-17)
------------------
* Fix FormHelper.field_template attribute
* Feature: add InlineCheckboxes field
* Feature: add InlineRadios field
* Add support for django-crispy-forms 1.14.0
* Add support for Python 3.10
0.6.0 (2022-04-15)
------------------
* Add support for Django 4.0
* Fix SelectMultiple widget rendering
0.5.1 (2022-04-14)
------------------
* Readd templatetags removed by mistake.
0.5.0 (2022-04-13)
------------------
* Drop support for Django 3.0
* Upgrade crispy_forms dependency, now version >= 1.12.0 is required
0.4.0 (2022-04-13)
------------------
* Feature: add ``label_class`` helper attribute
* Feature: add support for horizontal forms
* BREAKING CHANGE: HTML in labels is now being escaped, this is consistent with django.
* BREAKING CHANGE: EmailField and EmailInput have been removed. Use django.forms.EmailField instead.
* Feature: add support for forms.MultipleChoiceField with CheckboxSelectMultiple as widget.
0.3.1 (2022-04-08)
------------------
* Fix input wrapper, replace p tag with a div
* Fix checkbox rendering, the input was rendered twice
* Initial version by ckrybus (tests, docs, packaging, no logic changes)
0.3.0 (2020-03-22) [#discord]_
------------------------------
* Add support for django 3.0
0.2.0 (2019-12-12) [#discord]_
------------------------------
* Update dependency pinning
0.1.2 (2019-04-02) [#discord]_
------------------------------
* Add EmailInput widget
0.1.1 (2019-01-15) [#discord]_
------------------------------
* Update docs
0.1.0 (2019-01-13) [#discord]_
------------------------------
* Initial version by discord.
1.1.3 (2017-11-06) [#jhotujec]_
-------------------------------
* Added input with icons
1.1.2 (2017-11-06) [#jhotujec]_
-------------------------------
* Added template for non-field errors
* Fix radio select, which now appears inline
* Fix form actions template (submit, reset)
1.1.1 (2017-11-06) [#jhotujec]_
-------------------------------
* Initial version by @jhotujec
.. rubric:: Footnotes
.. [#discord] At that time the project was called https://github.com/python-discord/django-crispy-bulma
.. [#jhotujec] At that time the project was called https://github.com/jhotujec/crispy-forms-bulma
Raw data
{
"_id": null,
"home_page": "https://github.com/ckrybus/crispy-bulma",
"name": "crispy-bulma",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "forms,django,crispy,bulma",
"author": "Christoph Krybus",
"author_email": "chris@ckrybus.com",
"download_url": "https://files.pythonhosted.org/packages/90/6b/660e9b1e6cab7a3a63434edbdba85e21e7f217e1857b3026a84219ac61a7/crispy-bulma-0.11.0.tar.gz",
"platform": null,
"description": "============\ncrispy-bulma\n============\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/ckrybus/crispy-bulma/blob/main/LICENSE\n.. image:: https://img.shields.io/github/actions/workflow/status/ckrybus/crispy-bulma/test.yml?branch=main\n :target: https://github.com/ckrybus/crispy-bulma/actions\n :alt: GitHub Workflow Status\n.. image:: https://img.shields.io/pypi/v/crispy-bulma\n :target: https://pypi.python.org/pypi/crispy-bulma\n :alt: PyPI\n.. image:: https://img.shields.io/pypi/pyversions/crispy-bulma\n :target: https://pypi.python.org/pypi/crispy-bulma\n :alt: PyPI - Python Version\n.. image:: https://img.shields.io/pypi/djversions/crispy-bulma\n :target: https://pypi.python.org/pypi/crispy-bulma\n :alt: PyPI - Django Version\n\nBulma_ template pack for django-crispy-forms_\n\n.. _Bulma: https://bulma.io/\n.. _django-crispy-forms: https://github.com/django-crispy-forms/django-crispy-forms\n\nDocumentation: https://crispy-bulma.readthedocs.io.\n\n\nRequirements\n------------\n\nOfficially supported versions:\n\n* Django: 4.2, 5.0\n* Python 3.8, 3.9, 3.10, 3.11, 3.12\n* django-crispy-forms 2.0, 2.1\n* Bulma.css 0.9.4\n\n\nQuickstart\n----------\n\nInstall this plugin using `pip`::\n\n $ pip install crispy-bulma\n\nYou will need to update your project's settings file to add ``crispy_forms``\nand ``crispy_bulma`` to your projects ``INSTALLED_APPS``. Also set\n``bulma`` as and allowed template pack and as the default template pack\nfor your project::\n\n INSTALLED_APPS = (\n ...\n \"crispy_forms\",\n \"crispy_bulma\",\n ...\n )\n\n CRISPY_ALLOWED_TEMPLATE_PACKS = (\"bulma\",)\n\n CRISPY_TEMPLATE_PACK = \"bulma\"\n\n\nCredits\n-------\n\n* This project is based on an archived `crispy-forms-bulma <https://github.com/python-discord/django-crispy-bulma>`__ fork by Discord\n* The original `crispy-forms-bulma <https://github.com/jhotujec/crispy-forms-bulma>`__ project is by Jure Hotujec\n\n* This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\nRelated projects\n----------------\n\ncrispy-bulma's focus is on form handling. This project assumes that you have already integrated bulma into your project, either manually or using some other package. If crispy-bulma does not meet your needs maybe one of these projects is of interest to you:\n\n* `django-bulma <https://github.com/timonweb/django-bulma>`__ - an alternative way to use bulma forms. Does not use crispy forms.\n\n* `django-simple-bulma <https://github.com/lemonsaurus/django-simple-bulma>`__ - can be used together with this project. Provides bulma integration and ads support for bulma extensions.\n\n\nLicense\n-------\n\nMIT license\n\n\n=======\nHistory\n=======\n\n\n0.11.0 (2023-12-06)\n-------------------\n\n* Add support for Django 5.0\n* Drop support for Django 3.2, 4.0 and 4.1\n* Add support for django-crispy-forms 2.1\n* BREAKING CHANGE: help text id attribute is now differently named:\n ``hint_{{ field.auto_id }}`` -> ``{{ field.auto_id }}_helptext``\n\n\n0.10.0 (2023-07-03)\n-------------------\n\n* Drop support for Python 3.7\n* Add support for Python 3.12\n* Add support for Django 4.2\n\n\n0.9.0 (2023-03-05)\n------------------\n\n* Drop support for django-crispy-forms 1.12.0, 1.13.0 and 1.14.0\n* Add support for django-crispy-forms 2.0\n* Drop support for Django 2.2\n\n\n0.8.3 (2023-01-31)\n------------------\n\n* Fix Select widget error state rendering (the red border was missing).\n\n\n0.8.2 (2023-01-29)\n------------------\n\n* Add support for Django 4.1\n* Add support for Python 3.11\n\n\n0.8.1 (2023-01-22)\n------------------\n\n* Fix DateField, DateTimeField and TimeField widget rendering\n* Fix DecimalField, FloatField, IntegerField and URLField widget rendering. Fix contributed by pythonbrad.\n* Fix FileUploadInput widget rendering. Fix contributed by pythonbrad.\n* Fix passing attributes to IconField. Fix contributed by davy39.\n\n\n0.8.0 (2022-04-28)\n------------------\n\n* Feature: add ``FormGroup`` layout object\n* Fix ``Submit`` and ``Reset`` input rendering\n* BREAKING CHANGE: ``Button`` is now rendered as ``<button></button>``.\n For ``<input type=\"submit\" />`` use ``Submit``.\n* BREAKING CHANGE: Redesign IconField. Instead of ``IconField(\"envelope\")`` call it with the\n full icon class e.g. ``IconField(\"fa fa-envelope\")``.\n* Drop support for Django 3.1\n* Drop support for Python 3.6\n\n\n0.7.0 (2022-04-17)\n------------------\n\n* Fix FormHelper.field_template attribute\n* Feature: add InlineCheckboxes field\n* Feature: add InlineRadios field\n* Add support for django-crispy-forms 1.14.0\n* Add support for Python 3.10\n\n\n0.6.0 (2022-04-15)\n------------------\n\n* Add support for Django 4.0\n* Fix SelectMultiple widget rendering\n\n\n0.5.1 (2022-04-14)\n------------------\n\n* Readd templatetags removed by mistake.\n\n\n0.5.0 (2022-04-13)\n------------------\n\n* Drop support for Django 3.0\n* Upgrade crispy_forms dependency, now version >= 1.12.0 is required\n\n\n0.4.0 (2022-04-13)\n------------------\n\n* Feature: add ``label_class`` helper attribute\n* Feature: add support for horizontal forms\n* BREAKING CHANGE: HTML in labels is now being escaped, this is consistent with django.\n* BREAKING CHANGE: EmailField and EmailInput have been removed. Use django.forms.EmailField instead.\n* Feature: add support for forms.MultipleChoiceField with CheckboxSelectMultiple as widget.\n\n\n0.3.1 (2022-04-08)\n------------------\n\n* Fix input wrapper, replace p tag with a div\n* Fix checkbox rendering, the input was rendered twice\n* Initial version by ckrybus (tests, docs, packaging, no logic changes)\n\n\n0.3.0 (2020-03-22) [#discord]_\n------------------------------\n\n* Add support for django 3.0\n\n\n0.2.0 (2019-12-12) [#discord]_\n------------------------------\n\n* Update dependency pinning\n\n\n0.1.2 (2019-04-02) [#discord]_\n------------------------------\n\n* Add EmailInput widget\n\n\n0.1.1 (2019-01-15) [#discord]_\n------------------------------\n\n* Update docs\n\n\n0.1.0 (2019-01-13) [#discord]_\n------------------------------\n\n* Initial version by discord.\n\n\n1.1.3 (2017-11-06) [#jhotujec]_\n-------------------------------\n\n* Added input with icons\n\n\n1.1.2 (2017-11-06) [#jhotujec]_\n-------------------------------\n\n* Added template for non-field errors\n* Fix radio select, which now appears inline\n* Fix form actions template (submit, reset)\n\n\n1.1.1 (2017-11-06) [#jhotujec]_\n-------------------------------\n\n* Initial version by @jhotujec\n\n\n.. rubric:: Footnotes\n\n.. [#discord] At that time the project was called https://github.com/python-discord/django-crispy-bulma\n\n.. [#jhotujec] At that time the project was called https://github.com/jhotujec/crispy-forms-bulma\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Bulma template pack for django-crispy-forms",
"version": "0.11.0",
"project_urls": {
"Changelog": "https://github.com/ckrybus/crispy-bulma/blob/main/HISTORY.rst",
"Documentation": "https://crispy-bulma.readthedocs.io/en/latest/",
"Homepage": "https://github.com/ckrybus/crispy-bulma",
"Source": "https://github.com/ckrybus/crispy-bulma"
},
"split_keywords": [
"forms",
"django",
"crispy",
"bulma"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7a6c8734b21a4a0ea2dbfd563d30e9f245f81e72b7a19fb17f1ed32a3391d1e2",
"md5": "870e0b3c2cf7d54cc9a71878f369fe07",
"sha256": "bc5406d64649a3da9c61d1aa969cb2c39bb3a1802ba8ee4bccebe94a84ca94e1"
},
"downloads": -1,
"filename": "crispy_bulma-0.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "870e0b3c2cf7d54cc9a71878f369fe07",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 20571,
"upload_time": "2023-12-06T20:39:23",
"upload_time_iso_8601": "2023-12-06T20:39:23.992905Z",
"url": "https://files.pythonhosted.org/packages/7a/6c/8734b21a4a0ea2dbfd563d30e9f245f81e72b7a19fb17f1ed32a3391d1e2/crispy_bulma-0.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "906b660e9b1e6cab7a3a63434edbdba85e21e7f217e1857b3026a84219ac61a7",
"md5": "8b5dc569acaca2c91cd8c9e473cb015b",
"sha256": "27eccd09a5a77754d64462f61ff585c00feb8c15f65d0d8f9676ab26f6bc3562"
},
"downloads": -1,
"filename": "crispy-bulma-0.11.0.tar.gz",
"has_sig": false,
"md5_digest": "8b5dc569acaca2c91cd8c9e473cb015b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 35747,
"upload_time": "2023-12-06T20:39:29",
"upload_time_iso_8601": "2023-12-06T20:39:29.969149Z",
"url": "https://files.pythonhosted.org/packages/90/6b/660e9b1e6cab7a3a63434edbdba85e21e7f217e1857b3026a84219ac61a7/crispy-bulma-0.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-06 20:39:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ckrybus",
"github_project": "crispy-bulma",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "crispy-bulma"
}