1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+.

This commit is contained in:
Sergey Fedoseev
2019-11-26 11:59:05 +05:00
committed by Mariusz Felisiak
parent 513948735b
commit 026719cf17
2 changed files with 55 additions and 43 deletions

View File

@@ -351,6 +351,10 @@ Models
SQL on MySQL by using ``DELETE`` instead of ``TRUNCATE`` statements for
tables which don't require resetting sequences.
* SQLite functions are now marked as :py:meth:`deterministic
<sqlite3.Connection.create_function>` on Python 3.8+. This allows using them
in check constraints and partial indexes.
Pagination
~~~~~~~~~~