mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Made inspectdb used Cursor.description.display_size for CharFields' max_length.
internal_size is size for fixed-size types not for char types.
This commit is contained in:
@@ -409,6 +409,10 @@ Miscellaneous
|
||||
|
||||
* The minimum supported version of SQLite is increased from 3.9.0 to 3.21.0.
|
||||
|
||||
* :djadmin:`inspectdb` now uses ``display_size`` from
|
||||
``DatabaseIntrospection.get_table_description()`` rather than
|
||||
``internal_size`` for ``CharField``.
|
||||
|
||||
.. _deprecated-features-4.2:
|
||||
|
||||
Features deprecated in 4.2
|
||||
|
||||
Reference in New Issue
Block a user