| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2024-05-07 | Fixed #35407 -- Cached model's Options.swapped. | Adam Johnson | |
| 2024-02-26 | Fixed #35241 -- Cached model's full parent list. | Adam Johnson | |
| co-authored-by: Keryn Knight <keryn@kerynknight.com> co-authored-by: Natalia <124304+nessita@users.noreply.github.com> co-authored-by: David Smith <smithdc@gmail.com> co-authored-by: Paolo Melchiorre <paolo@melchiorre.org> | |||
| 2024-02-19 | Refs #28011 -- Removed ForeignObjectRel.is_hidden(). | Adam Johnson | |
| 2024-02-19 | Fixed #35232 -- Cached model's Options.verbose_name_raw. | Adam Johnson | |
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-08-06 | Refs #32983 -- Removed unneeded related_name from test model definitions. | Nick Touran | |
| 2020-12-30 | Fixed #32294 -- Prevented ManyToManyField's hidden related name collisions ↵ | manav014 | |
| between apps. | |||
| 2020-08-05 | Fixed #26977 -- Made abstract models raise TypeError when instantiating. | Jacob Walls | |
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-03-02 | Merged isinstance() calls. | Jon Dufresne | |
| Follow up to 0214f367bc84d7217e42ae0441d500d31c6a5b78. | |||
| 2019-01-17 | Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future. | Tim Graham | |
| 2017-10-31 | Fixed #28750 -- Allowed models to define ↵ | Charlie Denton | |
| Meta.manager_inheritance_from_future for backwards compatibility. Refs 631f4ab06112aca5bd6a57b81159048f936050bf. | |||
| 2017-09-22 | Refs #27532 -- Removed Model._meta.has_auto_field per deprecation timeline. | Tim Graham | |
| 2017-06-26 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Mariusz Felisiak | |
| Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f. | |||
| 2017-06-05 | Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has ↵ | Adam Johnson | |
| an instance only descriptor. Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86. | |||
| 2017-06-05 | Added a test for Model._meta._property_names. | Adam Johnson | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2016-11-25 | Fixed #27532 -- Deprecated Model._meta.has_auto_field | Adam Chainz | |
| 2016-09-09 | Refs #25415 -- Fixed invalid models in the test suite. | Adam Chainz | |
| 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-03-19 | Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many | Claude Paroz | |
| Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews. | |||
| 2016-01-25 | Fixed #26125 -- Fixed E731 flake warnings. | userimack | |
| 2015-10-12 | Refs #18012 -- Made proxy and concrete model reverse fields consistent. | Simon Charette | |
| Prior to this change proxy models reverse fields didn't include the reverse fields pointing to their concrete model. | |||
| 2015-10-12 | Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models. | Simon Charette | |
| Thanks to Anssi for the review. | |||
| 2015-09-23 | Refs #12663 -- Removed deprecated Model._meta methods. | Tim Graham | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-05-12 | Fixed #24156 -- Fixed inherited related name of ManyToManyField. | Andriy Sokolovskiy | |
| Fixed situation when parent abstract model declares related_name='+', and child models had an invalid queryset. | |||
| 2015-05-02 | Fixed #24693 -- Added label and label_lower property to Model._meta | Luis Del Giudice | |
| 2015-03-26 | Fixed #24505 -- Fixed clash with hidden m2m fields. | Marco Fucci | |
| Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'. | |||
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-02-20 | Fixed #24328 -- cleaned up Options._get_fields() implementation | Anssi Kääriäinen | |
| 2015-02-10 | Fixed #24146 -- Allowed model._meta.get_field() to be used after ↵ | Daniel Pyrathon | |
| apps.models_ready | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24266 -- Changed get_parent_list to return a list ordered by MRO. | Simon Charette | |
| Thanks to Aron Podrigal for the initial patch and Tim for the review. | |||
| 2015-02-03 | Reverted "Fixed #24146 -- Fixed a missing fields regression in admin checks." | Tim Graham | |
| This reverts commit e8171daf0cd7f0e070395cb4c850c17fea32f11d. A new solution is forthcoming. | |||
| 2015-01-16 | Fixed #24146 -- Fixed a missing fields regression in admin checks. | Collin Anderson | |
| This allows using get_field() early in the app loading process. Thanks to PirosB3 and Tim Graham. | |||
| 2015-01-14 | Fixed incorrect error message in Options.get_fields() | Collin Anderson | |
| 2015-01-06 | Fixed #12663 -- Formalized the Model._meta API for retrieving fields. | Daniel Pyrathon | |
| Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | |||
| 2015-01-02 | Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions | Daniel Pyrathon | |
| 2014-12-23 | Fixed #21414 -- Removed RelatedObject and deprecated Field.related. | Anssi Kääriäinen | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-07-14 | Fixed #22994 -- regression with generic FK + admin list_view | Anssi Kääriäinen | |
| The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue. | |||
| 2014-06-19 | Refs #12663 -- Added tests for methods in db.models.options. | Daniel Pyrathon | |
| Thanks Russell Keith-Magee and Tim Graham for reviews. | |||
