InstallationΒΆ

  1. Install django-crispy-forms using their installation guide.

  2. Install crispy-forms-gds from PyPI:

    pip install crispy-forms-gds
    
  3. Add the app to your settings:

    INSTALLED_APPS = (
        ...
        'crispy_forms_gds',
        ...
    
    )
    
  4. 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"
    
  5. 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.