PhilipGarnero / crispy-forms-foundation

Django application to add 'django-crispy-forms' layout objects for Foundation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Django application to add 'django-crispy-forms' layout objects for Foundation

License:MIT License


Languages

Language:HTML 59.0%Language:Python 41.0%