From e15174983adf0ee5caa1b678c94bb1c6fbd40402 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 23 Aug 2023 10:04:37 +0100 Subject: Renamed ChoicesMeta to ChoicesType. This also uses enum.EnumType for Python 3.11+ as Python 3.11 renamed EnumMeta to EnumType. While the former is still available as an alias of the latter for now, let's prefer the canonical name for this. Check out https://docs.python.org/3/library/enum.html#enum.EnumType --- docs/internals/deprecation.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 98b027cd1a..a400ed97f9 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -42,6 +42,9 @@ details on these changes. * ``BaseDatabaseOperations.field_cast_sql()`` will be removed. +* The ``ChoicesMeta`` alias to ``django.db.models.enums.ChoicesType`` will be + removed. + .. _deprecation-removed-in-5.1: 5.1 -- cgit v1.3