mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #32060 -- Added Random database function.
This commit is contained in:
parent
f87b0ecd37
commit
06c5d3fafc
12 changed files with 51 additions and 27 deletions
|
@ -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`
|
||||
---------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue