From fd92f247891950bc92369b2457e032ec11f0147d Mon Sep 17 00:00:00 2001 From: saJaeHyukc Date: Fri, 13 Sep 2024 20:07:37 +0900 Subject: Fixed #34887 -- Added support for unlimited models.CharField on SQLite. Signed-off-by: saJaeHyukc --- docs/ref/models/fields.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 612949ab4a..5266135dd2 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -720,8 +720,8 @@ The default form widget for this field is a :class:`~django.forms.TextInput`. The maximum length (in characters) of the field. The ``max_length`` is enforced at the database level and in Django's validation using :class:`~django.core.validators.MaxLengthValidator`. It's required for all - database backends included with Django except PostgreSQL, which supports - unlimited ``VARCHAR`` columns. + database backends included with Django except PostgreSQL and SQLite, which + supports unlimited ``VARCHAR`` columns. .. note:: @@ -730,6 +730,10 @@ The default form widget for this field is a :class:`~django.forms.TextInput`. ``max_length`` for some backends. Refer to the :doc:`database backend notes ` for details. + .. versionchanged:: 5.2 + + Support for unlimited ``VARCHAR`` columns was added on SQLite. + .. attribute:: CharField.db_collation Optional. The database collation name of the field. -- cgit v1.3