InstallationΒΆ
Install
django-crispy-forms
using their installation guide.Install
crispy-forms-gds
from PyPI:pip install crispy-forms-gds
Add the app to your settings:
INSTALLED_APPS = ( ... 'crispy_forms_gds', ... )
Override the crispy forms settings to set the template pack as the default:
CRISPY_ALLOWED_TEMPLATE_PACKS = ( "bootstrap", "bootstrap3", "bootstrap4", "uni_form", "gds" ) CRISPY_TEMPLATE_PACK = "gds"
Install the GDS assets using their Getting started guide and production installation instructions.
Our demo site has a webpack config file which you might find useful.