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.3.6.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file crispy-forms-foundation-demo-0.3.6.tar.gz.

File metadata

File hashes

Hashes for crispy-forms-foundation-demo-0.3.6.tar.gz
Algorithm Hash digest
SHA256 f09c5c9477f90c3828fd9b5182a0f31236ed2d9312c2b72d2b7f386fa67dae92
MD5 aec7a723d420c6042b514309568f30ca
BLAKE2b-256 e4c31ea37558cb82c0179fd19eb4e83aab0c4306b3e9ccf64d41b8c99c48cb84

See more details on using hashes here.

Supported by

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