mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #32060 -- Added Random database function.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f87b0ecd37
commit
06c5d3fafc
@@ -314,6 +314,8 @@ Models
|
||||
:attr:`TextField <django.db.models.TextField.db_collation>` allows setting a
|
||||
database collation for the field.
|
||||
|
||||
* Added the :class:`~django.db.models.functions.Random` database function.
|
||||
|
||||
Pagination
|
||||
~~~~~~~~~~
|
||||
|
||||
@@ -444,6 +446,9 @@ backends.
|
||||
non-deterministic collations are not supported, set
|
||||
``supports_non_deterministic_collations`` to ``False``.
|
||||
|
||||
* ``DatabaseOperations.random_function_sql()`` is removed in favor of the new
|
||||
:class:`~django.db.models.functions.Random` database function.
|
||||
|
||||
:mod:`django.contrib.admin`
|
||||
---------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user