Bulma template pack for django-crispy-forms
Documentation: https://crispy-bulma.readthedocs.io.
Officially supported versions:
- Django: 2.2, 3.2, 4.0, 4.1
- Python 3.7, 3.8, 3.9, 3.10, 3.11
- django-crispy-forms 1.12, 1.13, 1.14
- Bulma.css 0.9.4
Note: Django 4.0+ requires version 0.6.0+ and django-crispy-forms version 1.13+.
Older versions might work, but are not officially supported. For example django-crispy-forms >= 1.9.0, Bulma >= 0.7.5 and Django 3.0/3.1 are still likely to work.
If you depend on django-crispy-forms < 1.12.0 use the 0.4.0 version.
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"
- This project is based on an archived crispy-forms-bulma fork by Discord
- The original crispy-forms-bulma project is by Jure Hotujec
- This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
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 - an alternative way to use bulma forms. Does not use crispy forms.
- django-simple-bulma - can be used together with this project. Provides bulma integration and ads support for bulma extensions.
MIT license