| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-12-18 | Added DatabaseFeatures.rounds_to_even. | Tim Graham | |
| This feature flag useful with MongoDB: "Rounding to the nearest even value supports more even distribution of rounded data than always rounding up or down." | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-22 | Refs #33355 -- Added missing tests for database functions and expression on ↵ | Adam Johnson | |
| null values. | |||
| 2021-03-29 | Fixed #31487 -- Added precision argument to Round(). | Nick Pope | |
| 2020-10-02 | Fixed #32060 -- Added Random database function. | Nick Pope | |
| 2019-10-29 | Used more specific unittest assertions in tests. | Nick Pope | |
| * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. | |||
| 2019-03-22 | Fixed #30271 -- Added the Sign database function. | Nick Pope | |
| 2019-03-14 | Simplified test_transform()s in db_functions.math. | Mariusz Felisiak | |
| 2018-09-10 | Fixed #29500 -- Fixed SQLite function crashes on null values. | Srinivas Reddy Thatiparthy | |
| Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2018-08-21 | Fixed #29658 -- Registered model lookups in tests with a context manager. | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | |
| 2018-07-05 | Refs #28643 -- Added math database functions. | Junyi Jiao | |
| Thanks Nick Pope for much review. | |||
