summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
AgeCommit message (Expand)Author
2020-08-13[3.1.x] Fixed #31863 -- Prevented mutating model state by copies of model ins...Gert Burger
2020-05-11Optimized Model and QuerySet pickling version comparison.Adam Johnson
2020-05-05Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.Mariusz Felisiak
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2020-04-10Fixed #31351 -- Added system checks for partial indexes and unique constraint...Ichlasul Affan
2020-03-31Refs #31403 -- Made SQLInsertCompiler.execute_sql() always return an iterable...Adam Johnson
2020-03-18Refs #31055 -- Made long column names checks support databases aware.Mariusz Felisiak
2020-03-05Fixed #29129 -- Skipped UPDATE when adding a model instance with inherited pr...Abhijeet Viswa
2020-02-19Refs #31187 -- Added total_unique_constraints property to model's Options.Mariusz Felisiak
2020-02-07Fixed #31055 -- Made constraint checks support databases aware.Simon Charette
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
2020-01-15Fixed #29871 -- Allowed setting pk=None on a child model to create a copy.chetan22
2019-12-30Fixed #31071 -- Disabled insert optimization for primary keys with defaults w...Simon Charette
2019-11-08Fixed #24858 -- Added support for get_FOO_display() to ArrayField and RangeFi...Hasan Ramezani
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2019-09-27Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.Hasan Ramezani
2019-09-27Refs #30798 -- Prevented chaining fields from the same related model multiple...Hasan Ramezani
2019-09-23Fixed #13296 -- Fixed ordering by Options.order_with_respect_to after deletin...Hasan Ramezani
2019-09-09Refs #29444 -- Allowed returning multiple fields from INSERT statements on Po...Johannes Hoppe
2019-08-19Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary k...Hasan Ramezani
2019-08-12Refs #11964 -- Made constraint support check respect required_db_features.Simon Charette
2019-07-23Removed unnecessary code in Model.__init__().Jon Dufresne
2019-07-05Fixed #30613 -- Moved index name validation to system checks.can
2019-05-28Simplified Model.save() a bit.葛汉斌
2019-05-21Fixed #28147 -- Fixed loss of assigned parent when saving child after parent.Rob
2019-05-01Fixed #30409 -- Allowed using foreign key's attnames in unique/index_together...zeyneloz
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-03-22Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.Matthias Kestenholz
2019-03-14Fixed #30254 -- Allowed model metaclasses to access the attribute dict in __i...Matt Westcott
2019-03-01Refs #29408 -- Cosmetic edits for validation of related fields and lookups in...Mariusz Felisiak
2019-03-01Fixed #29408 -- Added validation of related fields and lookups in model Meta....Hasan Ramezani
2019-01-21Fixed #30106 -- Made order_with_respect_to updates use QuerySet.bulk_update().Simon Charette
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2018-12-22Fixed #29970, #30041 -- Made ModelBase.__new__() pass attrs without contribut...Sergey Fedoseev
2018-11-13Fixed #29641 -- Added support for unique constraints in Meta.constraints.Simon Charette
2018-10-28Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for fore...Tim Graham
2018-10-17Fixed #21171 -- Avoided starting a transaction when a single (or atomic queri...Florian Apolloner
2018-08-31Refs #27795 -- Removed force_text() in Model._get_FIELD_display().Jon Dufresne
2018-08-22Fixed #26352 -- Made system check allow ManyToManyField to target the same mo...Simon Willison
2018-08-20Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches.Ming Qin
2018-08-10Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericR...Ramiro Morales
2018-07-20Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models.François Dupayrat
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-06-25Refs #29516 -- Reverted inadvertent change in Model.__init__().Tim Graham
2018-06-25Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model...Federico Bond
2018-05-03Refs #29358 -- Corrected wording in primary key check message.Carlton Gibson
2018-05-03Fixed #29358 -- Added a system check to prohibit models with more than one pr...Hasan Ramezani
2018-03-12Fixed #28988 -- Fixed queries when a GenericRelation is used with multi-table...robwa
2018-01-31Fixed #29093 -- Simplified a few lines in ModelBase.__new__().Дилян Палаузов
2018-01-30Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even ...Jon Dufresne