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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-quieter-formset-0.2.tar.gz
Algorithm Hash digest
SHA256 a61e15c3654e5502871fb129dccd08878c76774e3eeb8fc24a605aaaf95131e0
MD5 80ef022aff6a0d3b115db33dc630936a
BLAKE2b-256 fdd383424ed28e33110d065329e8fccf1b5eea0acc4d65465f83d9f82d2f40cd

See more details on using hashes here.

Supported by

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