mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33471 -- Made AlterField operation a noop when changing "choices".
This also allows customizing attributes of fields that don't affect a column definition.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6991880109
commit
65effbdb10
@@ -288,6 +288,10 @@ Models
|
||||
on MariaDB and MySQL. For databases that do not support ``XOR``, the query
|
||||
will be converted to an equivalent using ``AND``, ``OR``, and ``NOT``.
|
||||
|
||||
* The new :ref:`Field.non_db_attrs <custom-field-non_db_attrs>` attribute
|
||||
allows customizing attributes of fields that don't affect a column
|
||||
definition.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user