Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/expressions/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-0/+2
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24171 -- Fixed failure with complex aggregate ↵Anssi Kääriäinen2015-03-091-0/+1
| | | | | | | | | | | query and expressions The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly.
* Fixed #24031 -- Added CASE expressions to the ORM.Michał Modzelewski2015-01-131-0/+16
|
* Fixed #2443 -- Added DurationField.Marc Tamlyn2014-12-201-0/+1
| | | | | | | | | | | A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
* Consolidated expressions tests.Aymeric Augustin2014-04-211-0/+24
|
* PEP8 cleanupJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+32