diff options
| author | Tom Carrick <tom@carrick.eu> | 2020-07-18 13:17:39 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-21 18:24:56 +0200 |
| commit | e387f191f76777015b6ea687ce83cdb05ee47cee (patch) | |
| tree | 003d83b5efda40fbfcdc1aa9302faca9578b1e30 /docs/releases | |
| parent | ba6b32e5efc4c813ba4432777b3b1743d4205d14 (diff) | |
Fixed #31777 -- Added support for database collations to Char/TextFields.
Thanks Simon Charette and Mariusz Felisiak for reviews.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/3.2.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index e66e5777d5..2c59c488c0 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -308,6 +308,11 @@ Models :class:`~django.db.models.functions.TruncTime` database functions allows truncating datetimes in a specific timezone. +* The new ``db_collation`` argument for + :attr:`CharField <django.db.models.CharField.db_collation>` and + :attr:`TextField <django.db.models.TextField.db_collation>` allows setting a + database collation for the field. + Pagination ~~~~~~~~~~ @@ -431,6 +436,13 @@ backends. unique constraints (:attr:`.UniqueConstraint.include`), set ``DatabaseFeatures.supports_covering_indexes`` to ``True``. +* Third-party database backends must implement support for column database + collations on ``CharField``\s and ``TextField``\s or set + ``DatabaseFeatures.supports_collation_on_charfield`` and + ``DatabaseFeatures.supports_collation_on_textfield`` to ``False``. If + non-deterministic collations are not supported, set + ``supports_non_deterministic_collations`` to ``False``. + :mod:`django.contrib.admin` --------------------------- |
