diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2010-09-03 11:29:28 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2010-09-03 12:44:59 +0800 |
commit | c24e22bb55d5bf6cf523fa9ad3f9b02e07e87566 (patch) | |
tree | f7f55ecc65c494369e7fc341fd97df6aae80bd2a /.gitignore | |
parent | 01733fbdd54ca6e678ca5edf008ae17cea348905 (diff) | |
download | patchwork-c24e22bb55d5bf6cf523fa9ad3f9b02e07e87566.tar.bz2 patchwork-c24e22bb55d5bf6cf523fa9ad3f9b02e07e87566.tar.xz |
forms: change MultiplePatchForm from a ModelForm to a Form
ModelForm was causing validation issues, especially with no-change
fields on required model fields.
Add a test for updating a required field (state) through
MultiplePatchForm.
Change it to a normal form, and call instance.setattr manually. This
makes the new test pass.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions