Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.65 KB

README.rst

File metadata and controls

52 lines (36 loc) · 1.65 KB

Introduction

This is a Django application to add django-crispy-forms layout objects for Foundation.

This app does not embed a Foundation release, you will have to install it yourself.

Links

Requires

Installation

Just register the app in your project settings like that :

INSTALLED_APPS = (
    ...
    'crispy_forms',
    'crispy_forms_foundation',
    ...
)

Then append this part to specify usage of the Foundation set :

# Default layout to use with "crispy_forms"
CRISPY_TEMPLATE_PACK = 'foundation-5'

If not defined, the default template pack name used is foundation-5, also there is a basic foundation-3 support but it's not be maintained anymore.

All other django-crispy-forms settings option apply, see its documentation for more details.