Metadata-Version: 2.0
Name: cf-pretty-form-errors
Version: 1.0.4
Summary: Make your crispy form errors more pretty
Home-page: https://github.com/razortheory/cf-pretty-form-errors
Author: Roman Karpovich
Author-email: fpm.th13f@gmail.com
License: BSD License
Keywords: crispy-forms errors
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: django-crispy-forms

=====================
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 }}

5. Enjoy your new form errors.


