Bootstrap 3 to 5 transition template pack for django-crispy-forms.
You will need to update your project's settings file to add crispy_forms
and crispy_bootstrap3to5
to your projects INSTALLED_APPS
. Also set
bootstrap3to5
as and allowed template pack and as the default template pack
for your project:
INSTALLED_APPS = (
...
"crispy_forms",
"crispy_bootstrap3to5",
...
)
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap3to5"
CRISPY_TEMPLATE_PACK = "bootstrap3to5"