1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[3.0.x] Refs #27910 -- Improved documentation for model field choice enumeration types.

Backport of 1c66767d4e from master
This commit is contained in:
Nick Pope
2019-09-13 14:37:41 +01:00
committed by Mariusz Felisiak
parent 1fa629cd8f
commit 4d72c14baf
2 changed files with 89 additions and 63 deletions

View File

@@ -90,7 +90,7 @@ and ``IntegerChoices`` types are provided for text and integer fields. The
``Choices`` class allows defining a compatible enumeration for other concrete
data types. These custom enumeration types support human-readable labels that
can be translated and accessed via a property on the enumeration or its
members. See :ref:`Field.choices documentation <field-choices>` for more
members. See :ref:`Enumeration types <field-choices-enum-types>` for more
details and examples.
Minor features