1
0
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:
Florian Apolloner
2017-06-06 17:08:40 +02:00
committed by Tim Graham
parent 5e9f7f1e1c
commit 823d73be3e
4 changed files with 74 additions and 60 deletions

View File

@@ -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