Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/model_forms
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #20228 - Documented unique_for_date and exclude ↵Tim Graham2013-05-282-2/+35
| | | | | | behavior. Thanks Deepak Thukral for the patch.
* Made fix for #9321 less buggy and more effective.Ramiro Morales2013-05-232-1/+38
| | | | | | | | | | | | | Don't try to be smart about building a good-looking help string because it evaluates translations too early, simply use the same old strategy as before. Thanks Donald Stufft for the report. Also, actually fix the case reported by the OP by special-casing CheckboxSelectMultiple. Added tests. Refs #9321.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-6/+6
| | | | Gives much nicer errors when it fails.
* Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley2013-05-151-9/+3
| | | | This starts the deprecation period for PIL (support to end in 1.8).
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-12/+99
| | | | | | | | 'exclude', and added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
* Fix #15126: Better error message when passing invalid ↵Baptiste Mispelon2013-04-071-0/+34
| | | | options to ModelForm.Meta.
* Began implementing a shared set of test models to speed ↵Florian Apolloner2013-03-132-64/+51
| | | | up tests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-265-0/+1834