Skip to main content

Django formset that's a bit quieter

Project description

A formset that validates its data and puts them into non-form errors as opposed to raising 500 errors.

Usage:

from quieter_formset.formset import BaseFormSet, BaseModelFormSet

modelformset_factory(User, formset=BaseModelFormSet)
formset_factory(ArticleForm, formset=BaseFormSet)

Errors will be pushed into non_form_errors. Make sure you show those in your form. Because the management form breaks, we don’t know information about the form and so form data will be lost and the form breaks. However it was going to do this anyway.

License: BSD

Author: Andy McKay, amckay@mozilla.com

Project details


Download files

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

Source Distribution

django-quieter-formset-0.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page