Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/defer_regress/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-10/+10
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen2015-01-081-0/+8
| | | | | | | | | | | | | | | 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 #22050 -- Fixed defer fields on proxy related models.Lovas Bence2014-06-251-0/+5
|
* Removed useless model definitions.Aymeric Augustin2014-01-051-4/+0
| | | | | | | Surprisingly, this commit doesn't change any behavior at all. When a model is defined with the same name as another model in the same app, the definition of the first class is bound to the name of the class regardless of the definition of the second class.
* PEP8Jason Myers2013-11-031-0/+14
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #16436 -- Oracle defer_regress test failureAnssi Kääriäinen2013-05-311-6/+6
| | | | | Oracle doesn't like grouping by TextField, so use CharFields instead in models.
* Fixed #16436 -- defer + annotate + select_related crashTai Lee2013-05-301-0/+19
| | | | | | | | Correctly calculate the ``aggregate_start`` offset from loaded fields, if any are deferred, instead of ``self.query.select`` which includes all fields on the model. Also made some PEP 8 fixes.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+64