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.

Version 0.4 requires Django 1.6 or later.

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.4.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file django-quieter-formset-0.4.tar.gz.

File metadata

File hashes

Hashes for django-quieter-formset-0.4.tar.gz
Algorithm Hash digest
SHA256 e498ac6f2b216f191f7dbbfbaa591fa3935313c0c29195d8a4e5b480b62d8248
MD5 fa7fae50009ebe22d3527775b4d62344
BLAKE2b-256 e7a6d20d517684dda37c2594be644d3fd2977c0d755ca5cd2cfb3ce8933042b1

See more details on using hashes here.

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