mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28275 -- Added more hooks to SchemaEditor._alter_field().
This commit is contained in:
committed by
Tim Graham
parent
5e9f7f1e1c
commit
823d73be3e
@@ -289,6 +289,9 @@ Database backend API
|
||||
attribute with the name of the database that your backend works with. Django
|
||||
may use it in various messages, such as in system checks.
|
||||
|
||||
* The first argument of ``SchemaEditor._alter_column_type_sql()`` is now
|
||||
``model`` rather than ``table``.
|
||||
|
||||
* To improve performance when streaming large result sets from the database,
|
||||
:meth:`.QuerySet.iterator` now fetches 2000 rows at a time instead of 100.
|
||||
The old behavior can be restored using the ``chunk_size`` parameter. For
|
||||
|
||||
Reference in New Issue
Block a user