| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-14 | Fixed #27718 -- Added QuerySet.union(), intersection(), difference(). | Florian Apolloner | |
| Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs. | |||
| 2016-12-14 | Moved test_field_ordering to the model_fields package. | Morgan Aubert | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-06-21 | Fixed #26787 -- Documented deleting and reloading of model instance fields. | Tim Graham | |
| Thanks Julien Hartmann for the report. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-05-18 | Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs. | Marti Raudsepp | |
| 2016-05-17 | Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵ | Loïc Bistuer | |
| models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | |
| appropriate. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-07 | Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet. | Anderson Resende | |
| 2015-11-21 | Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey ↵ | Tim Graham | |
| w/on_delete=SET_NULL. | |||
| 2015-09-23 | Refs #21414 -- Removed Field.related per deprecation timeline. | Tim Graham | |
| 2015-08-22 | Tweak some examples. | Aymeric Augustin | |
| "Area man/woman" is confusing to people not familiar with the conventions of American journalism (like me). | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-04-06 | Fixed #24584 -- Fixed microsecond handling with older MySQLdb | Jon Dufresne | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-02-27 | Fixed #24418 -- Prevented crash in refresh_from_db with null fk | Claude Paroz | |
| Thanks Johannes Lerch for the report, Tim Graham for the test case, and Simon Charette for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-30 | Reverted "Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows." | Tim Graham | |
| This reverts commit da79ccca1d34f427952cce4555e598a700adb8de. This optimized the unsuccessful case at the expense of the successful one. | |||
| 2015-01-30 | Fixed #24211 -- Removed ValuesQuerySet() and ValuesListQuerySet(). | Loic Bistuer | |
| Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews. | |||
| 2015-01-20 | Fixed typos in code comments. | Adam Taylor | |
| 2015-01-06 | Fixed #12663 -- Formalized the Model._meta API for retrieving fields. | Daniel Pyrathon | |
| Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | |||
| 2014-12-23 | Fixed #21414 -- Removed RelatedObject and deprecated Field.related. | Anssi Kääriäinen | |
| 2014-11-28 | Fixed #901 -- Added Model.refresh_from_db() method | Anssi Kääriäinen | |
| Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews. | |||
| 2014-11-20 | Added a comment for test of refs #20278. | Anssi Kääriäinen | |
| 2014-11-12 | Fixed #22967 -- Made Model._do_update consistent | Jozef Knaperek | |
| Made _do_update behave more strictly according to its docs, including a corner case when specific concurent updates are executed and select_on_save is set. | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-10-07 | Refactored model lookup tests; refs #18586. | Browniebroke | |
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-09-24 | Removed numbering from the models.py header of some test packages. | Loic Bistuer | |
| This is a reliqua from the early days of the modeltests/regressiontests era. | |||
| 2014-07-02 | assertEquals -> assertEqual | Tim Graham | |
| 2014-06-25 | Split tests.basic.ModelTests in several tests; refs #18586. | zsoldosp | |
| 2014-05-15 | Harmonized some PEP 0263 coding preambles | Claude Paroz | |
| 2014-03-21 | Removed legacy transaction management per the deprecation timeline. | Aymeric Augustin | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2013-11-02 | PEP8 cleanup | 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-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-10-10 | Used "is" for comparisons with None. | Tim Graham | |
| 2013-09-08 | Removed some more unused local vars | Alex Gaynor | |
| 2013-09-02 | Replaced "not PY3" by "PY2", new in six 1.4.0. | Aymeric Augustin | |
| 2013-08-30 | Fixed #20988 -- Added model meta option select_on_save | Anssi Kääriäinen | |
| The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649 | |||
| 2013-08-22 | Fixed model.__eq__ and __hash__ for no pk value cases | Anssi Kääriäinen | |
| The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review. | |||
| 2013-08-19 | Made Model.__eq__ consider proxy models equivalent | Anssi Kääriäinen | |
| Fixed #11892, fixed #16458, fixed #14492. | |||
| 2013-07-31 | Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class. | Loic Bistuer | |
| 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. | |||
