Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #24706 -- Made ModelForm._post_clean() handle a ↵ | Keryn Knight | 2015-09-07 | 1 | -0/+21 |
| | | | | | | ValidationError raised when constructing the model instance. Thanks Loïc Bistuer for review and advice. | ||||
* | Fixed #25241 -- Corrected ModelForm.save() error message ↵ | Tim Graham | 2015-08-07 | 1 | -0/+6 |
| | | | | when saving invalid form with UUIDField pk. | ||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -10/+15 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Fixed #24428 -- Fixed has_changed for fields with coercion | Claude Paroz | 2015-03-05 | 1 | -0/+17 |
| | | | | Thanks Carsten Fuchs for the report. | ||||
* | Guaranteed removal of temporary files during tests. | Aymeric Augustin | 2015-02-23 | 1 | -1/+1 |
| | | | | | | | Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -2/+1 |
| | |||||
* | Fixed #23812 -- Changed django.utils.six.moves.xrange ↵ | Michael Hall | 2014-12-13 | 1 | -1/+2 |
| | | | | imports to range | ||||
* | Fixed #23865 -- documented how to assign errors to a ↵ | Alasdair Nicol | 2014-11-21 | 1 | -0/+2 |
| | | | | | | | field in Model.clean() Also added a unit test wit the simpler syntax which we have documented, where the dictionary values are strings. | ||||
* | Fixed #22979 -- Moved bug* tests | Tushar Bhatia | 2014-07-27 | 1 | -0/+16 |
| | |||||
* | Fixed #13776 -- Fixed ModelForm.is_valid() exception ↵ | Anubhav Joshi | 2014-06-04 | 1 | -0/+6 |
| | | | | | | with non-nullable FK and blank=True. Thanks peterbe for the report. | ||||
* | Removed hard-coded help_text for ManyToManyFields that ↵ | Tim Graham | 2014-03-22 | 1 | -5/+0 |
| | | | | | | use a SelectMultiple widget Per deprecation timeline; refs #9321. | ||||
* | Removed PIL compatability layer per deprecation timeline. | Tim Graham | 2014-03-21 | 1 | -3/+3 |
| | | | | refs #19934. | ||||
* | Merged model_forms_regress with model_forms tests | Claude Paroz | 2014-03-14 | 1 | -0/+59 |
| | |||||
* | Fixed #6103 -- Splitted tests in model_forms tests | Claude Paroz | 2014-03-14 | 1 | -2/+2 |
| | |||||
* | Fixed #2445 -- Allowed limit_choices_to attribute to be ↵ | Christopher Adams | 2014-02-11 | 1 | -1/+19 |
| | | | | | | | | | a callable. ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now be a callable that returns either a ``Q`` object or a dict. Thanks michael at actrix.gen.nz for the original suggestion. | ||||
* | PEP8 cleanup | Jason Myers | 2013-11-03 | 1 | -0/+28 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+1 |
| | |||||
* | Fixed #16986 -- Model.clean() can report errors on ↵ | Loic Bistuer | 2013-08-05 | 1 | -1/+5 |
| | | | | | | | | | individual fields. This commit provides the tests for this issue but the actual problem was solved by the ValidationError refactor in f34cfec and ee77d4b. Refs #20199. | ||||
* | Fixed #20199 -- Allow ModelForm fields to override ↵ | Loic Bistuer | 2013-06-18 | 1 | -0/+10 |
| | | | | error_messages from model fields | ||||
* | Revert "Began implementing a shared set of test models ↵ | Florian Apolloner | 2013-06-10 | 1 | -5/+22 |
| | | | | | | to speed up tests." This reverts commit 22b7870e40a3ecf022b423de6cd867dcb35a6940. | ||||
* | Fixed #20228 - Documented unique_for_date and exclude ↵ | Tim Graham | 2013-05-28 | 1 | -1/+11 |
| | | | | | | behavior. Thanks Deepak Thukral for the patch. | ||||
* | Made fix for #9321 less buggy and more effective. | Ramiro Morales | 2013-05-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Fixed #19934 - Use of Pillow is now preferred over PIL. | Daniel Lindsley | 2013-05-15 | 1 | -9/+3 |
| | | | | This starts the deprecation period for PIL (support to end in 1.8). | ||||
* | Began implementing a shared set of test models to speed ↵ | Florian Apolloner | 2013-03-13 | 1 | -22/+5 |
| | | | | up tests. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 1 | -0/+280 |