From 380ad94b3b6d72a165bfc7e1cc2ddac127986bd6 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Fri, 14 Jun 2019 11:16:07 +0100 Subject: [PATCH] Add link to Django choices documentation --- docs/queries.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/queries.rst b/docs/queries.rst index 6dce245..75bee3d 100644 --- a/docs/queries.rst +++ b/docs/queries.rst @@ -95,8 +95,10 @@ You can completely overwrite a field, or add new fields, to a ``DjangoObjectType Choices to Enum conversion ~~~~~~~~~~~~~~~~~~~~~~~~~~ -By default Graphene-Django will convert any Django fields that have ``choices`` -into a GraphQL enum type. +By default Graphene-Django will convert any Django fields that have `choices`_ +defined into a GraphQL enum type. + +.. _choices: https://docs.djangoproject.com/en/2.2/ref/models/fields/#choices For example the following ``Model`` and ``DjangoObjectType``: