mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
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
This commit is contained in:
parent
8aa8346466
commit
e15174983a
5 changed files with 39 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue