Make your crispy form errors more pretty
Project description
================
CF Pretty Form Errors
================
Quick start
-----------
1. Add "cf_pretty_form_errors" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'crispy_forms',
'cf_pretty_form_errors',
...
]
2. If crispy forms not configured, add template pack to your settings file::
CRISPY_TEMPLATE_PACK = 'bootstrap3'
3. Add mixin to your form. PrettyFormPlaceholdersMixin for easy setup, PrettyFormMixin for detailed layout configuration::
4. Include {{ form.media.css }} and {{ form.media.js }} in your template, for example::
{{ form.media.css }}
{% crispy form %}
{{ form.media.js }}
CF Pretty Form Errors
================
Quick start
-----------
1. Add "cf_pretty_form_errors" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'crispy_forms',
'cf_pretty_form_errors',
...
]
2. If crispy forms not configured, add template pack to your settings file::
CRISPY_TEMPLATE_PACK = 'bootstrap3'
3. Add mixin to your form. PrettyFormPlaceholdersMixin for easy setup, PrettyFormMixin for detailed layout configuration::
4. Include {{ form.media.css }} and {{ form.media.js }} in your template, for example::
{{ form.media.css }}
{% crispy form %}
{{ form.media.js }}
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
Built Distribution
File details
Details for the file cf-pretty-form-errors-1.0.3a0.tar.gz
.
File metadata
- Download URL: cf-pretty-form-errors-1.0.3a0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab12114ffdbfb634d473715c5a4d8daf411c0bf0cf00a3f26eebb85751d7485 |
|
MD5 | bb77eb92f2701075a7fb0fab17eb4699 |
|
BLAKE2b-256 | 68d5de85e2629719c7ef3482da154f8a3f1164d35ae11ae1372a659f60e83607 |
File details
Details for the file cf_pretty_form_errors-1.0.3a0-py2-none-any.whl
.
File metadata
- Download URL: cf_pretty_form_errors-1.0.3a0-py2-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf4fccd330be38c684a1d17a504cffe9b5eb19aa58e678e7dd311924e8baabac |
|
MD5 | 651d00010bcfaecbca30c4e49a3e552b |
|
BLAKE2b-256 | c7695fffff5e362acfe638383730f453c4f313a54d622b6d060c211eb2b92a18 |