summaryrefslogtreecommitdiff
path: root/tests/select_related_onetoone
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-68/+131
|
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-27/+0
| | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
* Removed unnecessary tuple wrapping of single format string argument.François Freitag2020-04-271-3/+3
|
* Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette2018-11-271-1/+2
|
* Fixed hanging indentation in various code.Mariusz Felisiak2018-03-161-4/+2
|
* Fixed #28834 -- Followed ancestor links on field cache lookup failure.Simon Charette2017-11-291-1/+1
| | | | Thanks Tim for the review.
* Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵Nicolas Delaby2017-09-221-0/+6
| | | | | support. Thanks Anssi Kääriäinen for contributing to the patch.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-10/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #27594 -- Fixed select_related() with reverse self-referential ↵Daniel Hillier2016-12-142-2/+19
| | | | | | | OneToOneField. Fixed definition of `klass_info['from_parent']` so that two models aren't considered from a parent class if the model classes are the same.
* Fixed #26486 -- Fixed a select_related() + defer() MTI edge case.Tim Graham2016-04-131-7/+2
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-6/+6
| | | | ForeignKey/OneToOneField
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+4
|
* Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen2015-01-081-0/+1
| | | | | | | | | | | | | | | Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
* Fixed #10414 -- Made select_related() fail on invalid field names.Niclas Olofsson2014-12-241-0/+19
|
* Fixing E302 ErrorsJason Myers2013-11-021-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-021-4/+4
|
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+2
|
* 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.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+2
| | | | Refs #20680.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+312