1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't provided.

Thanks Tim Graham for the review.
This commit is contained in:
Mariusz Felisiak
2017-07-27 19:36:47 +02:00
committed by GitHub
parent 14172cf442
commit b61d5b1991
8 changed files with 25 additions and 0 deletions

View File

@@ -348,6 +348,12 @@ backends.
requires that the arguments to ``OF`` be columns rather than tables, set
``DatabaseFeatures.select_for_update_of_column = True``.
* Third-party database backends should add a
``DatabaseOperations.cast_char_field_without_max_length`` attribute with the
database data type that will be used in the
:class:`~django.db.models.functions.Cast` function for a ``CharField`` if the
``max_length`` argument isn't provided.
Dropped support for Oracle 11.2
-------------------------------