| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-22 | Fixed #29970, #30041 -- Made ModelBase.__new__() pass attrs without ↵ | Sergey Fedoseev | |
| contribute_to_class() to type.__new__(). | |||
| 2018-11-27 | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | |
| 2018-07-20 | Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models. | François Dupayrat | |
| 2018-07-09 | Fixed some assertTrue() that were intended to be assertEqual(). | Sergey Fedoseev | |
| 2017-11-29 | Fixed #28834 -- Followed ancestor links on field cache lookup failure. | Simon Charette | |
| Thanks Tim for the review. | |||
| 2017-10-13 | Fixed #28695 -- Allowed models to use __init_subclass__(). | k | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Removed str() conversion of type and method __name__. | Simon Charette | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 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-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-13 | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | |
| assertSequenceEqual(). | |||
| 2016-05-31 | Avoided uncessary table creation in model_inheritance tests. | Simon Charette | |
| 2016-05-16 | Fixed #24305 -- Allowed overriding fields on abstract models. | Aron Podrigal | |
| Fields inherited from abstract base classes may be overridden like any other Python attribute. Inheriting from multiple models/classes with the same attribute name will follow the MRO. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-03-28 | Fixed #26413 -- Fixed a regression with abstract model inheritance and ↵ | Simon Charette | |
| explicit parent links. Thanks Trac alias trkjgrdg for the report and Tim for investigation and review. | |||
| 2016-03-14 | Removed unnecessary filter kwarg from .get() in a test. | Adam Alton | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-28 | Fixed #25354 -- Added class/app_label interpolation for related_query_name. | James Pulec | |
| 2015-11-19 | Renamed __unicode__() to __str__() in some test comments. | 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 | |
| 2015-02-03 | Fixed #15321 -- Honored ancestors unique checks. | Aron Podrigal | |
| Thanks to Tim for the review. | |||
| 2015-01-18 | Removed support for syncing apps without migrations per deprecation timeline. | Tim Graham | |
| Kept support for creating models without migrations when running tests (especially for Django's test suite). | |||
| 2014-12-03 | Refs #18586 -- Split up model_inheritance.ModelInheritanceTest | Alexander Shchapov | |
| 2014-12-03 | Fixed #20392 -- Added TestCase.setUpTestData() | Thomas Chaumeny | |
| Each TestCase is also now wrapped in a class-wide transaction. | |||
| 2014-11-03 | Fixed typos using https://github.com/vlajos/misspell_fixer | Veres Lajos | |
| 2014-08-30 | Fixed #23370 -- defer() + select_related() crashed with inherited models. | Akis Kesoglou | |
| 2014-05-28 | Fixed several typos in Django | Alex Gaynor | |
| 2014-04-21 | Appeased flake8 2.1.0. | Aymeric Augustin | |
| 2014-04-21 | Fixed #22402 -- Consolidated model_inheritance tests. | Aymeric Augustin | |
| The model_inheritance_same_model_name tests couldn't be run without the model_inheritance tests. Make the problem go away by merging them. Thanks timo for the report. | |||
| 2014-02-10 | Fixed #17673 -- Forbid field shadowing. | Christopher Medrela | |
| Thanks Anssi Kääriäinen for the suggestion. | |||
| 2013-11-02 | PEP8 | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-08-21 | Fixed #20946 -- model inheritance + m2m failure | Anssi Kääriäinen | |
| Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field. | |||
| 2013-08-19 | PEP 8 cleanup | Anssi Kääriäinen | |
| 2013-08-19 | Fixed #12567 -- Incorrect SQL in model inheritance case | Anssi Kääriäinen | |
| An isnull lookup produced incorrect SQL. This was already fixed earlier, so only tests added. | |||
| 2013-08-19 | Made Model.__eq__ consider proxy models equivalent | Anssi Kääriäinen | |
| Fixed #11892, fixed #16458, fixed #14492. | |||
| 2013-08-15 | Fixed #20895 -- Made check management command warn if a BooleanField does ↵ | Alasdair Nicol | |
| not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | |||
| 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-03-14 | Fixed #16649 -- Refactored save_base logic | Anssi Kääriäinen | |
| Model.save() will use UPDATE - if not updated - INSERT instead of SELECT - if found UPDATE else INSERT. This should save a query when updating, but will cost a little when inserting model with PK set. Also fixed #17341 -- made sure .save() commits transactions only after the whole model has been saved. This wasn't the case in model inheritance situations. The save_base implementation was refactored into multiple methods. A typical chain for inherited save is: save_base() _save_parents(self) for each parent: _save_parents(parent) _save_table(parent) _save_table(self) | |||
| 2013-03-02 | Import `CaptureQueriesContext` from its original module. | Simon Charette | |
| 2013-03-02 | Fixed #10399 -- Tested that o2o field updates are not constrained by an ↵ | Simon Charette | |
| inner query. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
