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


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-quieter-formset-0.4.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Feb 20, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page