| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-17 | [1.10.x] Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode ↵ | Tim Graham | |
| argument." This reverts commit a52a531a8b34f049fba11c3ee7b010af7534bf90 due to regressions described in refs #26772. Backport of 7def55c3f6716fcfa40a3bd5d0fbb2090588d81e from master | |||
| 2016-06-07 | [1.10.x] Fixed typos in db/models/fields/related_descriptors.py | Paulo | |
| Backport of 1a2a7cc01e7c46432605854f143a548635f027e5 and 908c26b079f2d657e30a3155d591a2467ba7d339 from master | |||
| 2016-06-04 | [1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField ↵ | Tim Graham | |
| that has to_field and primary_key=True. Thanks Simon Charette for review. Backport of e2296e7f0acf9c50868ab997ba565c1f47beb45b from master | |||
| 2016-05-28 | [1.10.x] Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() ↵ | Tim Graham | |
| on unsaved model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools. Backport of a4c20ae85b40c49e28d1b2227208e4f00d7820df from master | |||
| 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 | |
| 2016-05-04 | Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup() | Claude Paroz | |
| Thanks Tim Graham for completing the initial patch. | |||
| 2016-05-03 | Normalized "an SQL" spelling. | Ville Skyttä | |
| 2016-05-02 | Refs #22936 -- Moved more of Field.get_db_prep_lookup() to lookups. | Tim Graham | |
| 2016-04-30 | Fixed #26058 -- Delegated os.path bits of FileField's filename generation to ↵ | Cristiano | |
| the Storage. | |||
| 2016-04-29 | Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵ | Anssi Kääriäinen | |
| deferred instance loading. | |||
| 2016-04-25 | Refs #22936 -- Removed unused code in Field.get_db_prep_lookup(). | Tim Graham | |
| 2016-04-25 | Removed unused/untested Field.get_choices_default()/value_to_string() methods. | Tim Graham | |
| 2016-04-22 | Removed unused ForeignObject.attnames/get_defaults(). | Tim Graham | |
| 2016-04-22 | Removed unused ForeignObjectRel.get_choices() limit_to_currently_related ↵ | Tim Graham | |
| argument. Unused since its introduction in dc334a2ba8dbf5134d65c97fea2785c3b2294ef5. | |||
| 2016-04-22 | Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for ↵ | Loïc Bistuer | |
| form/model fields. | |||
| 2016-04-13 | Refs #16508 -- Renamed the current "virtual" fields to "private". | Michal Petrucha | |
| The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation. | |||
| 2016-04-12 | Refs #22936 -- Moved IntegerField.get_prep_lookup() logic to lookups. | Tim Graham | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-04-04 | Fixed W503 flake8 warnings. | Tim Graham | |
| 2016-04-03 | Fixed #26441 -- Added model Field.db_check() method | Markus Holtermann | |
| Thanks Common Code for financing the work on this commit. | |||
| 2016-03-23 | Fixed #26398 -- Made FieldFile.open() respect its mode argument. | Alexey Kotlyarov | |
| 2016-03-17 | Refs #26367 -- Removed obsolete _size cache on FieldField. | Tim Graham | |
| The _size attribute is used in File.size but FieldFile overrides it. | |||
| 2016-03-14 | Fixed #26140 -- Suppressed MySQL warning when inserting binary content | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-03-10 | Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite. | Tim Graham | |
| 2016-03-02 | Fixed #26226 -- Made related managers honor the queryset used for ↵ | Simon Charette | |
| prefetching their results. Thanks Loïc for the suggested improvements and Tim for the review. | |||
| 2016-02-29 | Fixed #26186 -- Documented how app relative relationships of abstract models ↵ | Simon Charette | |
| behave. This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e. Thanks Tim for the review. Refs #25858. | |||
| 2016-02-27 | Fixed #26230 -- Made default_related_name affect related_query_name. | chenesan | |
| 2016-02-12 | Removed unneeded hint=None/obj=None in system check messages. | Tim Graham | |
| 2016-02-12 | Updated allow_migrate() signature in check framework tests | Markus Holtermann | |
| 2016-02-11 | Fixed #26196 -- Made sure __in lookups use to_field as default. | Anssi Kääriäinen | |
| Thanks Simon Charette for the test. | |||
| 2016-02-11 | Fixed #26179 -- Removed null assignment check for non-nullable foreign key ↵ | ZachLiuGIS | |
| fields. | |||
| 2016-02-11 | Fixed #26153 -- Reallowed Q-objects in ↵ | Anssi Kääriäinen | |
| ForeignObject.get_extra_descriptor_filter(). | |||
| 2016-02-10 | Fixed #26154 -- Deprecated CommaSeparatedIntegerField | Brobin | |
| 2016-02-08 | Fixed #26162 -- Checked query name clashes of hidden relationships. | Simon Charette | |
| Although reverse accessor clashes should be skipped query name can't be hidden. Thanks to Ian Foote and Tim Graham for the review. | |||
| 2016-01-28 | Fixed #25354 -- Added class/app_label interpolation for related_query_name. | James Pulec | |
| 2016-01-25 | Fixed #26125 -- Fixed E731 flake warnings. | userimack | |
| 2016-01-11 | Fixed #25858 -- Bound abstract model application relative relationships. | Simon Charette | |
| Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input and Tim for the review. | |||
| 2015-12-25 | Fixed #14286 -- Added models.BigAutoField. | Alexander Sosnovskiy | |
| 2015-12-24 | Discouraged use of /tmp with predictable names. | Chris Lamb | |
| The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs. | |||
| 2015-12-24 | Fixed #25981 -- Added need to update migrations to on_delete deprecation ↵ | Luis San Pablo | |
| warning. | |||
| 2015-12-24 | Fixed #25972 -- Restored support for the isnull lookup with ForeignObject. | Tomo Otsuka | |
| 2015-12-05 | Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance. | Attila Tovt | |
| 2015-12-04 | Fixed #13774 -- Added models.Field.rel_db_type(). | Alexander Sosnovskiy | |
| 2015-11-21 | Fixed #13427 -- Made auto-m2m verbose names translatable | Claude Paroz | |
| 2015-11-11 | Fixed #25723 -- Made related field checks lookup against their local apps. | Simon Charette | |
| 2015-10-27 | Revert "Fixed #25417 -- Added a field check for invalid default values." | Simon Charette | |
| This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69. | |||
| 2015-10-27 | Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵ | Tim Graham | |
| related set. | |||
| 2015-10-26 | Fixed #25611 -- Standardized descriptor signatures. | Tim Graham | |
| 2015-10-16 | Fixed #25560 -- Made empty string related_name invalid. | Simon Charette | |
| Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review. | |||
