Skip to main content

Make your crispy form errors more pretty

Project description

  1. Add “cf_pretty_form_errors” to your INSTALLED_APPS setting like this:
  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 {{ }} and {{ }} in your template, for example:
    {{ }}
    {% crispy form %}
    {{ }}
  5. Enjoy your new form errors.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cf-pretty-form-errors, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cf_pretty_form_errors-1.0.4-py2-none-any.whl (20.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size cf-pretty-form-errors-1.0.4.tar.gz (13.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page