| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-03-23 | [1.11.x] Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' ↵ | Kapil Garg | |
| for fields with choices. Backport of 7e09fa7f519daf2f9c26587c3da5dc044d84b032 from master | |||
| 2017-02-20 | [1.11.x] Fixed typo in DurationField's docstring. | Alexey Rogachev | |
| Backport of c743af82cf56a915bf5d5d53a063892394cb75cf from master | |||
| 2017-02-10 | [1.11.x] Refs #27148 -- Fixed UUIDField.to_python(None) crash. | ClairePhila | |
| Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89. Backport of d26413113c1a5c95218fe4e43a684a2fe1ad1bff from master | |||
| 2016-12-30 | Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵ | Andrew Nester | |
| db_table on Oracle. | |||
| 2016-12-28 | Fixed #27651 -- Allowed M2M to concrete and proxy through model. | Tim Graham | |
| 2016-12-23 | Refs #18823 -- Corrected field name in an m2m manager error message. | Andrey Kuzminov | |
| 2016-12-20 | Removed unneeded values in NullBooleanField.formfield(). | Tim Graham | |
| These values are duplicated in the super(). | |||
| 2016-12-15 | Optimized Model instantiation a bit. | Adam Chainz | |
| * Avoid some unnecessary attribute lookups, e.g. access signals directly rather than from module * Alias some repeat accesses inside the method to use the slightly faster local lookups * Use tuple to iterate remaining kwargs as it's faster to construct * Cache Field.get_default() to avoid running through all the logic on every call * Use a cached list of the properties on the model class to avoid repeat isinstance() calls | |||
| 2016-12-14 | Fixed #27599 -- Fixed Field.__str__() crash for fields not attached to models. | Morgan Aubert | |
| 2016-12-07 | Fixed #17002 -- Allowed using a ManyToManyField through model that inherits ↵ | InvalidInterrupt | |
| another. | |||
| 2016-11-30 | Refs #27358 -- Fixed system check crash with an empty FileField.upload_to. | Lex Berezhny | |
| 2016-11-29 | Fixed #27358 -- Added a system check to prevent FileField's upload_to from ↵ | Henry Dang | |
| starting with a slash. Thanks Frank Bijlsma for the initial patch. | |||
| 2016-11-25 | Fixed #27532 -- Deprecated Model._meta.has_auto_field | Adam Chainz | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-10-31 | Fixed #27148 -- Fixed ModelMultipleChoiceField crash with invalid UUID. | Tim Graham | |
| 2016-10-28 | Fixed #27188 -- Allowed using unique=True with FileField. | Michael Scott | |
| Thanks Tim Graham for the initial patch. | |||
| 2016-10-28 | Fixed #20939 -- Simplified query generation by converting QuerySet to Query. | Tim Graham | |
| Thanks Anssi Kääriäinen for the initial patch and Anssi, Simon Charette, and Josh Smeaton for review. | |||
| 2016-10-26 | Fixed #27334 -- Allowed FileField to move rather than copy a file. | Adam Chidlow | |
| When a FileField is set to an instance of File that is not also an instance of FieldFile, pre_save() passes that object as the contents to Storage.save(). This allows the file to be moved rather than copied to the upload destination. | |||
| 2016-09-22 | Fixed #27159 -- Prevented pickling a query with an __in=inner_qs lookup from ↵ | Jani Tiainen | |
| evaluating inner_qs. | |||
| 2016-09-16 | Fixed #27235 -- Removed some usage of mutable default arguments. | Chris Lamb | |
| 2016-09-09 | Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged ↵ | Tim Graham | |
| models. | |||
| 2016-09-03 | Replaced smart_* by force_* calls whenever possible | Claude Paroz | |
| The smart_* version should only be used when a lazy string should keep its lazy status. | |||
| 2016-08-25 | Replaced property() usage with decorator in several places. | Berker Peksag | |
| 2016-08-11 | Fixed #26891 -- Fixed lookup registration for ForeignObject. | Ryan P Kilby | |
| 2016-08-09 | Fixed #13809 -- Made FieldFile.open() respect its mode argument. | Chris Sinchok | |
| 2016-08-05 | Fixed #26706 -- Made RelatedManager modification methods clear ↵ | Yoong Kang Lim | |
| prefetch_related() cache. | |||
| 2016-08-04 | Fixed #26983 -- Fixed isnull filtering on ForeignKey with to_field | Claude Paroz | |
| Thanks weidwonder for the report. | |||
| 2016-07-30 | Refs #25550 -- Corrected deprecation message for assigning M2M relations. | Tim Graham | |
| 2016-07-21 | Refs #26796 -- Fixed ManyToManyField's limit_choices_to warning without a ↵ | Kevan Swanberg | |
| through model. | |||
| 2016-07-16 | Fixed #26900 -- Fixed crash accessing deferred FileFields. | Tim Graham | |
| 2016-07-12 | Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name. | Andrey Fedoseev | |
| Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc. | |||
| 2016-07-11 | Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation. | Julien Hartmann | |
| 2016-07-08 | Fixed #26796 -- Added a system check for m2m fields with ignored ↵ | Anderson Resende | |
| limit_choices_to. | |||
| 2016-06-30 | Fixed #21548 -- Added FileExtensionValidator and validate_image_file_extension. | Berker Peksag | |
| 2016-06-28 | Fixed #26786 -- Avoided redundant max value validators on integer fields. | Eduard Stepanov | |
| 2016-06-27 | Fixed #26784 -- Made ForeignKey.validate() pass `model` to router if ↵ | Ben Demboski | |
| model_instance=None. | |||
| 2016-06-17 | Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode argument." | Tim Graham | |
| This reverts commit a52a531a8b34f049fba11c3ee7b010af7534bf90 due to regressions described in refs #26772. | |||
| 2016-06-13 | Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL. | Jon Dufresne | |
| Previously, empty values were saved as strings. | |||
| 2016-06-10 | Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names. | Berker Peksag | |
| 2016-06-09 | Fixed #26648 -- Added a system check for invalid related_query_name's ↵ | Michal Petrucha | |
| containing underscores. | |||
| 2016-06-09 | Replaced a hardcoded LOOKUP_SEP in models/fields/__init__.py | Michal Petrucha | |
| 2016-06-09 | Fixed #26718 -- Added system check for existence of the fields specified by ↵ | Sergey Fedoseev | |
| ForeignKey.to_field. | |||
| 2016-06-07 | Fixed typos in db/models/fields/related_descriptors.py | Tim Graham | |
| 2016-06-07 | Fixed typo in db/models/fields/related_descriptors.py | Paulo | |
| 2016-06-07 | Refs #15250 -- Added docstring for ForwardOneToOneDescriptor. | Paulo | |
| 2016-06-04 | Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has ↵ | Tim Graham | |
| to_field and primary_key=True. Thanks Simon Charette for review. | |||
| 2016-06-03 | Fixed #15250 -- Avoided extra query on some multi-table inheritance queries. | Paulo | |
| Thanks marekw2143 for the initial patch and carljm for support. | |||
| 2016-05-28 | Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved ↵ | Tim Graham | |
| model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools. | |||
| 2016-05-17 | Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵ | Loïc Bistuer | |
| models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs. | |||
| 2016-05-11 | Refs #24227 -- Removed ManyToManyField special casing in model_to_dict(). | Tim Graham | |
