summaryrefslogtreecommitdiff
path: root/django/db/models/base.py
AgeCommit message (Expand)Author
2026-01-29Fixed #36847 -- Ensured auto_now_add fields are set on pre_save().Nilesh Kumar Pahari
2025-12-18Fixed #36701 -- Fixed memory leak in ModelState.Samriddha9619
2025-11-04Fixed #36704 -- Fixed system check error for proxy model with a composite pk.Hal Blackburn
2025-10-18Fixed #21961 -- Added support for database-level delete options for ForeignKey.Mariusz Felisiak
2025-10-16Fixed #28586 -- Added model field fetch modes.Adam Johnson
2025-10-14Fixed #36654 -- Corrected Model._do_update()'s docstring.Augusto Pontes
2025-10-13Fixed #36611, Refs #36580 -- Added system check for multicolumn ForeignObject...Sarah Boyce
2025-09-17Refs #27222 -- Restored Model.save()'s refreshing of db_returning fields even...Simon Charette
2025-09-16Refs #27222 -- Deduplicated db_returning fields in Model.save().Jacob Walls
2025-09-16Fixed #36580 -- Fixed constraint validation crash when condition uses a Forei...SaJH
2025-09-14Fixed #27222 -- Refreshed model field values assigned expressions on save().Simon Charette
2025-09-14Refs #27222 -- Refreshed GeneratedFields values on save() initiated update.Simon Charette
2025-09-05Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.Tim Graham
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-06-13Fixed #36433 -- Fixed constraint validation crash when condition uses a Forei...Colleen Dunlap
2025-05-16Fixed #33312 -- Raised explicit exception when copying deferred model instances.Simon Charette
2025-05-14Fixed #36273 -- Moved Index system checks from Model to Index.check().Tim Graham
2025-05-09Fixed #36207 -- Cleared cached ForeignObject relations via refresh_from_db().Jacob Walls
2025-05-08Fixed #36295, Refs #24305 -- Allowed overriding GenericForeignKey fields on a...Ahmed Nassar
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-03-10Fixed #33579 -- Specialized exception raised on forced update failures.Simon Charette
2025-02-19Fixed #35358, Refs #35234 -- Renamed _check() methods to check() for constrai...Mariusz Felisiak
2025-01-15Refs #35060 -- Removed passing positional arguments to Model.save()/asave() p...Sarah Boyce
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