Fixed typo in django/db/backends/sqlite3/base.py comment.

This commit is contained in:
Chris Jerdonek 2021-02-22 23:37:14 -08:00 committed by Mariusz Felisiak
parent d6572ee4b0
commit 19ce1d493a
1 changed files with 1 additions and 1 deletions

View File

@ -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))