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.py::
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.py::
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
Close
Hashes for cf-pretty-form-errors-1.0.2a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac2e785395ea12282838567362af293e1b6979d8411e3d2c4d726cc275a427d6 |
|
MD5 | 917100312aeb5a1b312872e2ee2a5ab6 |
|
BLAKE2b-256 | 059eaff2a8d37a11a76d0a2151d7977aeaac936f825424cdd5dd929c8e6ad5cb |
Close
Hashes for cf_pretty_form_errors-1.0.2a0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df0d4dfddadbcf64728c668aacbdb7a8edf955a45b38f8d08b1798a7b840ac5 |
|
MD5 | 07bcdbd7114aac6eadfc2ccf5ba8073e |
|
BLAKE2b-256 | 4ef44646874ee11c5c0b062c9557bb6cc73c9edcea2e29dcc7bbf5ee5bdee2fe |