From 1c88ead9e56a132bdd637721f558fb2b423f7fb2 Mon Sep 17 00:00:00 2001 From: belkka Date: Tue, 12 Oct 2021 22:08:12 +0300 Subject: [PATCH] Fix indentation in query examples --- docs/queries.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/queries.rst b/docs/queries.rst index df439ea..3645c7b 100644 --- a/docs/queries.rst +++ b/docs/queries.rst @@ -418,29 +418,29 @@ the core graphene pages for more information on customizing the Relay experience You can now execute queries like: -.. code:: python +.. code:: graphql { questions (first: 2, after: "YXJyYXljb25uZWN0aW9uOjEwNQ==") { pageInfo { - startCursor - endCursor - hasNextPage - hasPreviousPage + startCursor + endCursor + hasNextPage + hasPreviousPage } edges { - cursor - node { - id - question_text - } + cursor + node { + id + question_text + } } } } Which returns: -.. code:: python +.. code:: json { "data": {