Skip to main content

Django application to demonstrate 'django-crispy-forms'

Project description

Introduction

This is a Django application to demonstrate crispy-forms-foundation using django-crispy-forms with Foundation.

Requires

Install

Edit your settings.py to add the following settings :

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

CRISPY_TEMPLATE_PACK = 'foundation-5'

You can also use the template pack name foundation-3.

Then mount it on your urls :

urlpatterns = patterns('',
    ...
    url(r'^crispies/', include('crispy_forms_foundation_demo.urls')),
    ...
)

That’s all, now you can access to the demo. Take care that some templates attempt to inherit from a skeleton.html template which use Foundation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crispy-forms-foundation-demo-0.2.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page