summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
AgeCommit message (Expand)Author
2025-01-15Fixed #36100 -- Checked if composite pk is set in get_next/get_previous.Jacob Walls
2025-01-14Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names.Simon Charette
2025-01-14Fixed #36093 -- Adjusted unique checks to account for inherited primary keys.Simon Charette
2025-01-13Fixed #36092 -- Disallowed non-local fields in composite primary keys.Bendeguz Csirmaz
2025-01-13Refs #36075 -- Used field in pk_fields over field.primary_key.Sarah Boyce
2025-01-10Fixed #36064 -- Skipped an UPDATE when adding a model instance with a composi...Bendeguz Csirmaz
2025-01-10Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks.Simon Charette
2025-01-09Fixed #36074 -- Excluded composite primary key fields on save() updates.Simon Charette
2024-12-17Fixed #35992, Fixed #35997 -- Added system check for CompositePrimaryKeys in ...Mariusz Felisiak
2024-12-02Fixed #35950 -- Restored refreshing of relations when fields deferred.Adam Johnson
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...Csirmaz Bendegúz
2024-08-28Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().Simon Charette
2024-08-12Fixed #35575 -- Added support for constraint validation on GeneratedFields.Mark Gensler
2024-08-05Refs #35638 -- Avoided wrapping expressions with Value in _get_field_value_ma...David Sanders
2024-07-04Fixed #35560 -- Made Model.full_clean() ignore GeneratedFields for constraints.Mark Gensler
2024-06-28Refs #35561 -- Renamed Model.save()/asave() helper to a more specific name.nessita
2024-06-26Fixed 35561 -- Made *args and **kwargs parsing more strict in Model.save()/as...nessita
2024-06-25Fixed #35554, Refs #35060 -- Corrected deprecated *args parsing in Model.save...Adam Johnson
2024-05-07Fixed #35425 -- Avoided INSERT with force_update and explicit pk.Jacob Walls
2024-04-10Fixed #35350 -- Fixed save() with pk set on models with GeneratedFields.Sarah Boyce
2024-03-08Fixed #35044 -- Avoided clearing reverse relations and private fields when ac...Giannis Terzopoulos
2024-03-08Optimized Model.refresh_from_db(fields=...) by using a set.Giannis Terzopoulos
2024-03-08Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when va...Ben Cail
2024-02-29Refs #35234 -- Moved constraint system checks to Check/UniqueConstraint methods.Simon Charette
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-20Fixed #35236 -- Used Field.attname/column attributes instead of get_attname()...Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-19Fixed #35127 -- Made Model.full_clean() ignore GeneratedFields.Mariusz Felisiak
2024-01-15Fixed #28344 -- Allowed customizing queryset in Model.refresh_from_db()/arefr...Aivars Kalvans
2024-01-02Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().Salvo Polizzi
2023-12-08Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignK...Sarah Boyce
2023-11-25Refs #34925 -- Avoided altering passed by reference refresh_from_db(fields).Simon Charette
2023-11-24Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of fields.trontelj
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
2023-08-11Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.Francesco Panico
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-06-29Fixed #30382 -- Allowed specifying parent classes in force_insert of Model.sa...Akash Kumar Sen
2023-06-20Fixed #34634 -- Adjusted system check for clashing fields to warn about links...Akash Kumar Sen
2023-06-15Fixed #33414 -- Fixed creating diamond-shaped MTI objects for common ancestor...Akash Kumar Sen
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-02-08Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError w...Mariusz Felisiak
2023-01-18Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-11-07Fixed #34137 -- Made Model.refresh_from_db() clear cached generic relations.Bhuvnesh
2022-11-04Fixed #27654 -- Propagated alters_data attribute to callables overridden in s...LightDiscord
2022-11-02Fixed #34112 -- Added async-compatible interface to Model methods.DevilsAutumn
2022-09-30Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers."Mariusz Felisiak
2022-09-29Refs #32095 -- Added model's Options._non_pk_concrete_field_names property.sarahboyce