Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names. | Simon Charette | 2023-04-05 | 1 | -0/+5 |
| | | | | | | Thanks Andrew Cordery for the report. Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879. | ||||
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -1/+1 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Fixed #21204 -- Tracked field deferrals by field instead of models. | Simon Charette | 2022-08-30 | 1 | -0/+4 |
| | | | | | This ensures field deferral works properly when a model is involved more than once in the same query with a distinct deferral mask. | ||||
* | Refs #21204 -- Added more QuerySet.defer()/only() tests for invalid fields. | Simon Charette | 2022-08-30 | 1 | -18/+36 |
| | |||||
* | 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 | -51/+67 |
| | |||||
* | Fixed #32704 -- Fixed list of deferred fields when chaining QuerySet.defer() ↵ | David Wobrock | 2021-07-20 | 1 | -0/+2 |
| | | | | after only(). | ||||
* | Added more tests for chaining QuerySet.defer() after only(). | David Wobrock | 2021-07-20 | 1 | -0/+6 |
| | |||||
* | Fixed #30427, Fixed #16176 -- Corrected setting descriptor in ↵ | Carlton Gibson | 2021-06-15 | 2 | -0/+19 |
| | | | | | | Field.contribute_to_class(). Co-authored-by: Jarek Glowacki <jarekwg@gmail.com> | ||||
* | Fixed #30988 -- Deprecated the InvalidQuery exception. | Simon Charette | 2019-11-18 | 1 | -3/+3 |
| | | | | | It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature. | ||||
* | Fixed typos in comments and a test name. | Min ho Kim | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | Fixed typos in test comments. | Tim Gates | 2019-06-25 | 1 | -1/+1 |
| | |||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -2/+1 |
| | |||||
* | Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields. | Jeremy Kerr | 2017-08-31 | 1 | -0/+5 |
| | | | | | | | Previously, deferring fields in different classes didn't omit the superclass' deferred field. Thanks Simon Charette for the suggested fix. | ||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -2/+1 |
| | |||||
* | Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵ | Anssi Kääriäinen | 2016-04-29 | 1 | -6/+5 |
| | | | | deferred instance loading. | ||||
* | Fixed #26486 -- Fixed a select_related() + defer() MTI edge case. | Tim Graham | 2016-04-13 | 1 | -3/+2 |
| | |||||
* | Used assertRaisesMessage in a couple defer tests. | Tim Graham | 2016-04-11 | 1 | -4/+10 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -1/+1 |
| | | | | ForeignKey/OneToOneField | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+3 |
| | |||||
* | Fixed typos of "select_related" in docs and tests. | Josh Schneier | 2015-02-04 | 1 | -2/+2 |
| | |||||
* | Refs #18586 -- Split up tests.defer.DeferTests.test_defer | Will Earp | 2014-12-31 | 1 | -64/+112 |
| | |||||
* | Fixed #901 -- Added Model.refresh_from_db() method | Anssi Kääriäinen | 2014-11-28 | 2 | -1/+41 |
| | | | | | Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews. | ||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Fixed E125 pep8 warnings | Christopher Medrela | 2013-11-28 | 1 | -1/+1 |
| | |||||
* | PEP8 | Jason Myers | 2013-11-02 | 1 | -0/+4 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed E225 pep8 warnings. | Tim Graham | 2013-10-23 | 1 | -1/+1 |
| | |||||
* | Made Model.__eq__ consider proxy models equivalent | Anssi Kääriäinen | 2013-08-19 | 1 | -0/+6 |
| | | | | Fixed #11892, fixed #16458, fixed #14492. | ||||
* | 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. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+215 |