Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/select_related/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24687 -- Added select_related() validation for ↵Tim Graham2015-10-101-6/+4
| | | | | | | | | | nested non-relational fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+5
|
* Fixed #25252 -- Added friendly error message on ↵Y3K2015-08-311-0/+20
| | | | | | | incorrect .select_related() use Using select_related() after .values() or .values_list() is not possible because .values() or .values_list() already got the values they need.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+3
|
* Fixed #10414 -- Made select_related() fail on invalid ↵Niclas Olofsson2014-12-241-1/+55
| | | | field names.
* Refactored some tests to take advantage of refs #20392.Thomas Chaumeny2014-12-031-12/+8
|
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-4/+4
|
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-5/+8
|
* Fixed DeprecationWarning caused by assertEquals.Loic Bistuer2013-10-151-2/+2
|
* Fixed #16855 -- select_related() chains as expected.Marc Tamlyn2013-10-151-1/+10
| | | | | | | select_related('foo').select_related('bar') is now equivalent to select_related('foo', 'bar'). Also reworded docs to recommend select_related(*fields) over select_related()
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Removed 'depth' .select_related() argument as per ↵Ramiro Morales2013-06-291-45/+13
| | | | deprecation TL.
* Fixed #16856 - Added a way to clear select_related.Tim Graham2013-05-301-0/+4
| | | | Thanks Carl for the suggestion and David Cramer for the patch.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+174