| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-08-31 | Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB. | Simon Charette | |
| The optimization introduced in 7acef095d73 did not properly handle deletion involving filters against aggregate annotations. It initially was surfaced by a MariaDB test failure but misattributed to an undocumented change in behavior that resulted in the systemic generation of poorly performing database queries in 5b83bae031. Thanks Anton Plotkin for the report. Refs #23576. | |||
| 2020-04-30 | Removed unused __str__() methods in tests models. | Mariusz Felisiak | |
| Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | |||
| 2020-01-29 | Refs #27852 -- Fixed object deletion to show all restricted related objects ↵ | Hasan Ramezani | |
| rather than just the first one. | |||
| 2020-01-27 | Refs #27852 -- Fixed object deletion to show all protected related objects ↵ | Hasan Ramezani | |
| rather than just the first one. Thanks Anton Samarchyan for the initial patch. | |||
| 2019-11-19 | Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵ | Daniel Izquierdo | |
| deletions while protecting direct ones. | |||
| 2019-05-06 | Fixed #30339 -- Made Model.delete(keep_parents=True) preserves nested parent ↵ | Stephen Brown | |
| reverse relationships. Thanks Simon Charette for the review. | |||
| 2019-04-17 | Fixed #30191 -- Selected only referenced fields during cascade deletion. | Simon Charette | |
| The non-referenced fields can only be deferred if no deletion signals receivers are connected for their respective model as connected as these receivers might expect all fields of the deleted model to be present. Thanks Ed Morley for the report. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2015-11-22 | Fixed #25685 -- Fixed a duplicate query regression on deletion of proxied ↵ | Simon Charette | |
| models. Thanks to Trac alias ppetrid for the report and Tim for the review. Conflicts: django/db/models/deletion.py tests/delete/tests.py Forward port of 7c3ef19978b36b61db88a519f799f1ce8d019679 from stable/1.8.x | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-21 | Fixed #25129 -- Made model instance defaults work with migrations (refs #24919). | Tim Graham | |
| 2015-07-21 | Refs #24919 -- Made test models serializable for migrations. | Tim Graham | |
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
