| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-10-05 | [1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related(). | Tim Graham | |
| Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master | |||
| 2015-09-23 | Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2. | Tim Graham | |
| Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-07 | Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError raised ↵ | Keryn Knight | |
| when constructing the model instance. Thanks Loïc Bistuer for review and advice. | |||
| 2015-08-07 | Fixed #25241 -- Corrected ModelForm.save() error message when saving invalid ↵ | Tim Graham | |
| form with UUIDField pk. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-03-25 | Fixed #24531 -- Improved CommaSeparatedIntegerField validation. | Bertrand Bordage | |
| `','`, `'1,,1'`, `',1'` etc. are no longer considered as valid comma-separated integer lists. | |||
| 2015-03-05 | Updated test to be date-independent | Claude Paroz | |
| Fixes commit 8714403614. | |||
| 2015-03-05 | Fixed #24428 -- Fixed has_changed for fields with coercion | Claude Paroz | |
| Thanks Carsten Fuchs for the report. | |||
| 2015-02-23 | Guaranteed removal of temporary files during tests. | Aymeric Augustin | |
| 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. | |||
| 2015-02-13 | Fixed #24295 -- Allowed ModelForm meta to specify form field classes. | Loic Bistuer | |
| Thanks Carl Meyer and Markus Holtermann for the reviews. | |||
| 2015-02-06 | Fixed E265 comment style | Collin Anderson | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-13 | Fixed DoS possibility in ModelMultipleChoiceField. | Tim Graham | |
| This is a security fix. Disclosure following shortly. Thanks Keryn Knight for the report and initial patch. | |||
| 2014-12-13 | Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range | Michael Hall | |
| 2014-11-21 | Fixed #23865 -- documented how to assign errors to a field in Model.clean() | Alasdair Nicol | |
| Also added a unit test wit the simpler syntax which we have documented, where the dictionary values are strings. | |||
| 2014-11-13 | Fixed flake8 warning. | Tim Graham | |
| 2014-11-12 | Fixed #23795 -- Fixed a regression in custom form fields | Baptiste Mispelon | |
| Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report. | |||
| 2014-11-03 | Fixed typos using https://github.com/vlajos/misspell_fixer | Veres Lajos | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-08-04 | Fixed #22745 -- Prevented reevaluation of ModelChoiceField's queryset when ↵ | Vincent-Vega | |
| accesssing BoundField's attrs. Thanks Christian Schmitt for review. | |||
| 2014-07-31 | Fixed #22808 -- Made ModelMultipleChoiceField validation more robust to ↵ | Niclas Olofsson | |
| invalid data types.. Thanks Mattias Lindvall for the report and inital patch. | |||
| 2014-07-26 | Fixed #22979 -- Moved bug* tests | Tushar Bhatia | |
| 2014-06-04 | Fixed #13776 -- Fixed ModelForm.is_valid() exception with non-nullable FK ↵ | Anubhav Joshi | |
| and blank=True. Thanks peterbe for the report. | |||
| 2014-05-24 | Fixed #22510 -- Harden field removal to only None. | Marc Tamlyn | |
| Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions. | |||
| 2014-05-08 | Split ignores_nulls_in_unique_constraints feature. | Aymeric Augustin | |
| Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently. | |||
| 2014-04-26 | Fix many many typos in comments throughout the codebase | Alex Gaynor | |
| 2014-03-26 | Forgotten slash removal in d320863878 | Claude Paroz | |
| 2014-03-22 | Made ModelForms raise ImproperlyConfigured if the list of fields is not ↵ | Tim Graham | |
| specified. Also applies to modelform(set)_factory and generic model views. refs #19733. | |||
| 2014-03-21 | Removed hard-coded help_text for ManyToManyFields that use a SelectMultiple ↵ | Tim Graham | |
| widget Per deprecation timeline; refs #9321. | |||
| 2014-03-21 | Removed PIL compatability layer per deprecation timeline. | Tim Graham | |
| refs #19934. | |||
| 2014-03-20 | Fixed a small collection of flake8 violations that had snuck in | Alex Gaynor | |
| 2014-03-14 | Merged model_forms_regress with model_forms tests | Claude Paroz | |
| 2014-03-14 | Fixed #6103 -- Splitted tests in model_forms tests | Claude Paroz | |
| 2014-03-08 | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | |
| Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||
| 2014-03-05 | Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength | Chris Wilson | |
| 2014-03-04 | Fixed spelling in model_forms test class names | Chris Wilson | |
| 2014-02-11 | Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. | Christopher Adams | |
| 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. | |||
| 2014-02-08 | Fixed #16192 -- Made unique error messages in ModelForm customizable. | Loic Bistuer | |
| Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion. | |||
| 2014-01-08 | Fixed #21745 - Feature check UniqueTest.test_unique_null | Michael Manfre | |
| 2013-11-26 | Fixed #21512 -- Added more complete information about Pillow and PIL in ↵ | Vajrasky Kok | |
| model_fields and model_forms tests. | |||
| 2013-11-03 | Merge pull request #1852 from jasonamyers/cleanup/PEP8 | Alex Gaynor | |
| Cleanup/pep8 tests | |||
| 2013-11-03 | Merging in master | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-03 | Fixed some testfailures on jenkins. | Florian Apolloner | |
| Depending on the order of the tests beeing run, 10 can be a valid pk, 0 can never be a valid pk and as such we will get the wanted ValidationError. | |||
| 2013-11-03 | Fixed #20849 -- ModelForms do not work well with prefetch_related. | Jim Bailey | |
| model_to_dict() (used when rendering forms) queries the database to get the list of primary keys for ManyToMany fields. This is unnecessary if the field queryset has been prefetched, all the keys are already in memory and can be obtained with a simple iteration. | |||
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | PEP8 | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed all E261 warnings | coagulant | |
| 2013-11-02 | Fixed all E261 warnings | coagulant | |
