| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-09-14 | Fixed #27222 -- Refreshed model field values assigned expressions on save(). | Simon Charette | |
| Removed the can_return_columns_from_insert skip gates on existing field_defaults tests to confirm the expected number of queries are performed and that returning field overrides are respected. | |||
| 2025-03-10 | Fixed #33579 -- Specialized exception raised on forced update failures. | Simon Charette | |
| Raising DatabaseError directly made it harder than it should to differentiate between IntegrityError when a forced update resulted in no affected rows. Introducing a specialized exception allows for callers to more easily silence, log, or turn them update failures into user facing exceptions (e.g. 404s). Thanks Mariusz for the review. | |||
| 2025-01-15 | Refs #35060 -- Removed passing positional arguments to Model.save()/asave() ↵ | Sarah Boyce | |
| per deprecation timeline. | |||
| 2025-01-14 | Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names. | Simon Charette | |
| Regression in bf7b17d16d3978b2e1cee4a0f7ce8840bd1a8dc4. Thanks Sage Abdullah for the report. | |||
| 2024-08-28 | Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave(). | Simon Charette | |
| 2024-06-25 | Fixed #35554, Refs #35060 -- Corrected deprecated *args parsing in ↵ | Adam Johnson | |
| Model.save()/asave(). The transitional logic added to deprecate the usage of *args for Model.save()/asave() introduced two issues that this branch fixes: * Passing extra positional arguments no longer raised TypeError. * Passing a positional but empty update_fields would save all fields. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-08-12 | Fixed #31382 -- Made Model.save(update_fields=...) raise ValueError on ↵ | Pat Garcia | |
| non-concrete fields. | |||
| 2020-04-15 | Removed unused __str__() methods in tests models. | Author: Mads Jensen | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | |||
| 2018-12-10 | Moved choices inside of test models per coding style. | Manan | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 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-11-20 | Refs #26207 -- Removed obsolete comments about deferred model classes. | Adam Chainz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2015-10-27 | Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵ | Tim Graham | |
| related set. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-11-03 | Fixed typos using https://github.com/vlajos/misspell_fixer | Veres Lajos | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-07-09 | Fixed #19671 -- Added warnings that null and validators are ignored for ↵ | Anubhav Joshi | |
| ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review. | |||
| 2013-11-02 | Fixing E302 Errors | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-26 | Fix all violators of E231 | Alex Gaynor | |
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
