diff options
| author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-02-22 23:37:14 -0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-23 10:54:32 +0100 |
| commit | 19ce1d493ae7cbc1e704d338077b1f5f5e5769c9 (patch) | |
| tree | 806475b79ba6610f91110f0b48ba795119b6a785 /django/db/backends/sqlite3 | |
| parent | d6572ee4b05b61d8c199b95a831f35a49c775f7e (diff) | |
Fixed typo in django/db/backends/sqlite3/base.py comment.
Diffstat (limited to 'django/db/backends/sqlite3')
| -rw-r--r-- | django/db/backends/sqlite3/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py index 32d767878e..a0b32d25d5 100644 --- a/django/db/backends/sqlite3/base.py +++ b/django/db/backends/sqlite3/base.py @@ -251,7 +251,7 @@ class DatabaseWrapper(BaseDatabaseWrapper): create_deterministic_function('SQRT', 1, none_guard(math.sqrt)) create_deterministic_function('TAN', 1, none_guard(math.tan)) # Don't use the built-in RANDOM() function because it returns a value - # in the range [2^63, 2^63 - 1] instead of [0, 1). + # in the range [-1 * 2^63, 2^63 - 1] instead of [0, 1). conn.create_function('RAND', 0, random.random) conn.create_aggregate('STDDEV_POP', 1, list_aggregate(statistics.pstdev)) conn.create_aggregate('STDDEV_SAMP', 1, list_aggregate(statistics.stdev)) |
