summaryrefslogtreecommitdiff
path: root/tests/db_functions
AgeCommit message (Expand)Author
2022-07-06[4.1.x] Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() paramet...Simon Charette
2022-07-04[4.1.x] Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) ag...Mariusz Felisiak
2022-04-14Relaxed some query ordering assertions in various tests.Mariusz Felisiak
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-02-22Refs #33517 -- Prevented __second lookup from returning fractional seconds on...nabil-rady
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-22Refs #33355 -- Added missing tests for database functions and expression on n...Adam Johnson
2021-12-13Refs #33355 -- Fixed Trunc() with years < 1000 on SQLite.Adam Johnson
2021-12-13Refs #33355 -- Moved Trunc() assertions for invalid arguments and ISO 8601 we...Mariusz Felisiak
2021-11-12Fixed #33279 -- Fixed handling time zones with "-" sign in names.Can Sarigol
2021-09-29Fixed #33018 -- Fixed annotations with empty queryset.David Wobrock
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-06-22Refs #32858, Refs #32392 -- Restored using :: shortcut syntax in Cast() on Po...Mariusz Felisiak
2021-05-17Fixed #32750 -- Fixed crash of Extract() transform on OuterRef() expressions.Artur Beltsov
2021-05-11Fixed #32722 -- Fixed comparing to TruncTime() on Oracle.Mariusz Felisiak
2021-05-07Fixed #32699 -- Fixed comparing to TruncTime() with 0 microseconds on MySQL.Alex Hill
2021-03-29Fixed #31487 -- Added precision argument to Round().Nick Pope
2021-03-23Fixed #32573 -- Fixed bounds in __iso_year lookup optimization.Florian Demmer
2021-01-29Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in expressions.Tilman Koschnick
2021-01-19Refs #32365 -- Allowed use of non-pytz timezone implementations.Paul Ganssle
2020-12-10Fixed #32178 -- Allowed database backends to skip tests and mark expected fai...Hasan Ramezani
2020-12-02Fixed #32179 -- Added JSONObject database function.Artur Beltsov
2020-10-14Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a specif...David-Wobrock
2020-10-14Removed redundant tests in test_extract_trunc.David-Wobrock
2020-10-14Refs #31640 -- Made Extract raise ValueError when using tzinfo with Date/Time...David-Wobrock
2020-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-09-18Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation.Tom Carrick
2020-09-09Fixed #31987 -- Fixed Cast() with DurationField on MySQL.Petr Čermák
2020-09-02Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson
2020-08-11Fixed #21181 -- Added Collate database function.Tom Carrick
2020-06-16Refs #30446 -- Defined default output_field of text database functions.Simon Charette
2020-04-30Removed unused __str__() methods in tests models.Mariusz Felisiak
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day l...Anatol Ulrich
2019-08-02Fixed #30661 -- Added models.SmallAutoField.Nick Pope
2019-07-12Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups ...Hasan Ramezani
2019-06-13Fixed #30128 -- Fixed handling timedelta timezone in database functions.can
2019-05-21Fixed #29396 -- Added indirect values support to __year lookups.Simon Charette
2019-05-21Fixed #30494 -- Disabled __year lookup optimization for indirect values.Simon Charette
2019-03-22Fixed #30271 -- Added the Sign database function.Nick Pope
2019-03-20Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database funct...Nick Pope
2019-03-14Simplified test_transform()s in db_functions.math.Mariusz Felisiak
2019-03-07Fixed #29754 -- Added is_dst parameter to Trunc database functions.ahbk
2019-02-21Refs #28643 -- Added MD5 database function.Mariusz Felisiak
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope