Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -3/+3 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." | Mariusz Felisiak | 2022-09-30 | 1 | -5/+0 |
| | | | | | | | | This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds two regression tests: - test_related_manager_refresh(), and - test_create_copy_with_m2m(). Thanks joeli for the report. | ||||
* | Fixed #33618 -- Fixed MTI updates outside of primary key chain. | Simon Charette | 2022-04-07 | 1 | -0/+12 |
| | |||||
* | Refs #7488, Refs #19524 -- Removed obsolete ↵ | Albert Defler | 2022-02-24 | 1 | -10/+0 |
| | | | | | | ModelInheritanceTest.test_issue_7488() test. Obsolete since e9c24bef74e55729b190cf07e0ac452aa4c86fcd. | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -2/+2 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -148/+237 |
| | |||||
* | Fixed #32980 -- Made models cache related managers. | Keryn Knight | 2021-11-08 | 1 | -0/+5 |
| | |||||
* | Removed unused __str__() methods in tests models. | Mariusz Felisiak | 2020-04-30 | 1 | -31/+0 |
| | | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | ||||
* | Fixed #29871 -- Allowed setting pk=None on a child model to create a copy. | chetan22 | 2020-01-15 | 1 | -4/+33 |
| | | | | Thanks Simon Charette and Tim Graham for the initial patch. | ||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -26/+20 |
| | |||||
* | Fixed #26362 -- Fixed update of the inherited id field of an object when its ↵ | Paulo Alvarado | 2017-06-26 | 1 | -0/+37 |
| | | | | parent changes. | ||||
* | Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving ↵ | Tim Graham | 2017-05-19 | 1 | -1/+2 |
| | | | | | | child model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. | ||||
* | Decreased max_length for char fields unless absolutely needed. (#8485) | Florian Apolloner | 2017-05-10 | 1 | -1/+1 |
| | |||||
* | Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign ↵ | Tim Graham | 2017-05-05 | 1 | -0/+6 |
| | | | | | key's parent model as the lookup value. Thanks Simon Charette for review. | ||||
* | Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child ↵ | Tim Graham | 2017-05-03 | 1 | -0/+4 |
| | | | | | | model. Regression in 38575b007a722d6af510ea46d46393a4cda9ca29. | ||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -11/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -4/+0 |
| | |||||
* | Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. | Tim Graham | 2017-01-17 | 1 | -1/+0 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 2 | -18/+14 |
| | |||||
* | Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵ | Mads Jensen | 2016-09-13 | 1 | -8/+2 |
| | | | | assertSequenceEqual(). | ||||
* | Fixed #15250 -- Avoided extra query on some multi-table inheritance queries. | Paulo | 2016-06-03 | 1 | -0/+32 |
| | | | | Thanks marekw2143 for the initial patch and carljm for support. | ||||
* | Fixed #26320 -- Deprecated implicit OneToOnField parent_link. | Tim Graham | 2016-04-22 | 2 | -21/+5 |
| | |||||
* | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | 2016-01-29 | 1 | -14/+8 |
| | |||||
* | Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵ | Tim Graham | 2015-10-27 | 1 | -3/+3 |
| | | | | related set. | ||||
* | Refs #15844 -- Added tests for multi-table inheritance related object ↵ | Tim Graham | 2015-10-03 | 1 | -0/+19 |
| | | | | | | filtering efficiency. Fixed in 97774429aeb54df4c09895c07cd1b09e70201f7d. | ||||
* | Refs #21554 -- Added some assertions to a model_inheritance_regress test. | Richard Mitchell | 2015-08-15 | 1 | -1/+4 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -7/+7 |
| | | | | ForeignKey/OneToOneField | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -6/+8 |
| | |||||
* | Fixed several typos in Django | Alex Gaynor | 2014-05-28 | 1 | -1/+1 |
| | |||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 1 | -3/+3 |
| | |||||
* | Further consolidated the model_inheritance tests. | Aymeric Augustin | 2014-04-21 | 2 | -0/+27 |
| | |||||
* | Fixed #21413 -- resolve_columns fields misalignment | Anssi Kääriäinen | 2014-01-12 | 1 | -0/+6 |
| | |||||
* | Fixed E127 pep8 warnings. | Loic Bistuer | 2013-12-14 | 1 | -4/+2 |
| | |||||
* | Fixed #21554 -- Incorrect SQL generated when using multiple inheritance. | pegler | 2013-12-06 | 2 | -1/+22 |
| | |||||
* | PEP8 | Jason Myers | 2013-11-02 | 1 | -0/+37 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 2 | -7/+7 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+1 |
| | |||||
* | Fixed E225 pep8 warnings. | Tim Graham | 2013-10-23 | 1 | -1/+1 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 2 | -4/+4 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -2/+2 |
| | |||||
* | Fixed #20895 -- Made check management command warn if a BooleanField does ↵ | Alasdair Nicol | 2013-08-15 | 1 | -4/+4 |
| | | | | | | | not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | ||||
* | Fixed #20883 -- Made model inheritance find parent links in abstract parents | Loic Bistuer | 2013-08-13 | 2 | -1/+28 |
| | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 1 | -2/+2 |
| | | | | Refs #20680. | ||||
* | Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵ | Luke Plant | 2013-05-09 | 1 | -0/+2 |
| | | | | | | | | added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute. | ||||
* | Fixed #15124 -- Changed the default for BooleanField. | Aymeric Augustin | 2013-03-24 | 1 | -2/+2 |
| | | | | | Thanks to the many contributors who updated and improved the patch over the life of this ticket. | ||||
* | Fixed #17502 -- Made joining in inheritance cases consistent | Anssi Kääriäinen | 2013-03-15 | 1 | -0/+17 |
| | | | | | | | | | | | | The original problem was that when filtering two levels up in inheritance chain, Django optimized the join generation so that the middle model was skipped. But then Django generated joins from top to middle to bottom for SELECT clause, and thus there was one extra join (top->middle->bottom + top -> bottom). This case is fixed in master as the filtering optimization is gone. This has the side effect that in some cases there is still extra join if the SELECT clause doesn't contain anything from middle or bottom. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+608 |