diff options
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 7374ea6b63..139b338460 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -279,7 +279,7 @@ Django provides an ``IntegerChoices`` class. For example:: suit = models.IntegerField(choices=Suit.choices) It is also possible to make use of the `Enum Functional API -<https://docs.python.org/3/library/enum.html#functional-api>`_ with the caveat +<https://docs.python.org/3/howto/enum.html#functional-api>`_ with the caveat that labels are automatically generated as highlighted above: .. code-block:: pycon |
