Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/select_related
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.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-10/+10
| | | | on_delete for ForeignKey/OneToOneField
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-5/+7
|
* Fixed #10414 -- Made select_related() fail on invalid ↵Niclas Olofsson2014-12-242-1/+96
| | | | field names.
* Refactored some tests to take advantage of refs #20392.Thomas Chaumeny2014-12-031-12/+8
|
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-4/+4
|
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-5/+8
|
* Fixing E302 ErrorsJason Myers2013-11-031-0/+10
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+9
|
* Fixed DeprecationWarning caused by assertEquals.Loic Bistuer2013-10-151-2/+2
|
* Fixed #16855 -- select_related() chains as expected.Marc Tamlyn2013-10-152-1/+19
| | | | | | | 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-263-0/+242