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.
Links
Download his PyPi package;
Clone it on his Github repository;
Requires
crispy-forms-foundation >= 0.2.4;
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for crispy-forms-foundation-demo-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceedb374b37e3582bd8be6691ea0cf0e96b2ad9e3ffc346c360190e977b47e4a |
|
MD5 | 4d8d4e0a21d6bf49c010e3e7ef6d977a |
|
BLAKE2b-256 | 598e484a350f6254b194cb10663e32c24f00c54d043885b2c1353a3436001f3f |