summaryrefslogtreecommitdiff
path: root/tests/dates
AgeCommit message (Collapse)Author
2018-01-27Fixed #28650 -- Added TruncWeek database function.Sigurd Ljødal
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-09-17Made FieldError/FieldDoesNotExist messages uniform across Python versions.François Freitag
Removed possible u'' prefixes on Python 2.
2016-09-13Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵Mads Jensen
assertSequenceEqual().
2016-01-29Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵Hasan
appropriate.
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-10-21Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL.Mariusz Felisiak
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-26Fixed #23867 -- removed DateQuerySet hacksAnssi Kääriäinen
The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs.
2014-06-25Split tests.basic.ModelTests in several tests; refs #18586.zsoldosp
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner