diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-11-21 09:06:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-21 09:06:50 +0100 |
| commit | d5f4ce9849b062cc788988f2600359dc3c2890cb (patch) | |
| tree | 8293093d13cc38fec2561987cf32c7273672fe0e /docs | |
| parent | 2e4776196d0e7519f2fb306e8aabadc6f2968866 (diff) | |
Fixed #29949 -- Refactored db introspection identifier converters.
Removed DatabaseIntrospection.table_name_converter()/column_name_converter()
and use instead DatabaseIntrospection.identifier_converter().
Removed DatabaseFeatures.uppercases_column_names.
Thanks Tim Graham for the initial patch and review and Simon Charette
for the review.
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 c00cb9cd41..8a15262ff9 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -312,6 +312,13 @@ backends. * ``sql_create_fk`` is replaced with ``sql_foreign_key_constraint``, ``sql_constraint``, and ``sql_create_constraint``. +* ``DatabaseIntrospection.table_name_converter()`` and + ``column_name_converter()`` are removed. Third party database backends may + need to instead implement ``DatabaseIntrospection.identifier_converter()``. + In that case, the constraint names that + ``DatabaseIntrospection.get_constraints()`` returns must be normalized by + ``identifier_converter()``. + Admin actions are no longer collected from base ``ModelAdmin`` classes ---------------------------------------------------------------------- |
