diff options
| author | Simon Charette <charette.s@gmail.com> | 2018-08-05 21:06:52 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-13 15:25:44 -0500 |
| commit | dba4a634ba999bf376caee193b3378bc0b730bd4 (patch) | |
| tree | dcf309133def892bc314e69f423e926f6e4dcc73 /docs | |
| parent | 2f120ac51722a257219a7577759702605cefddf4 (diff) | |
Refs #29641 -- Refactored database schema constraint creation.
Added a test for constraint names in the database.
Updated SQLite introspection to use sqlparse to allow reading the
constraint name for table check and unique constraints.
Co-authored-by: Ian Foote <python@ian.feete.org>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 4dd3c72e20..6be7e3a544 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -293,6 +293,13 @@ Database backend API * Third party database backends must implement support for partial indexes or set ``DatabaseFeatures.supports_partial_indexes`` to ``False``. +* Several ``SchemaEditor`` attributes are changed: + + * ``sql_create_check`` is replaced with ``sql_create_constraint``. + * ``sql_delete_check`` is replaced with ``sql_delete_constraint``. + * ``sql_create_fk`` is replaced with ``sql_foreign_key_constraint``, + ``sql_constraint``, and ``sql_create_constraint``. + Admin actions are no longer collected from base ``ModelAdmin`` classes ---------------------------------------------------------------------- |
