From b84f61afab5922f7a330b2f09bdf540b40b44e86 Mon Sep 17 00:00:00 2001 From: fneitzel Date: Mon, 6 Apr 2020 10:58:55 +0200 Subject: [PATCH] Documentation missing endpoint explanation (#918) * Documentation missing endpoint explanation Add some information about GRAPHQL_URL. Otherwise people run into ERROR 400 problems, if they have a different endpoint. * Update docs/testing.rst Co-Authored-By: Jonathan Kim Co-authored-by: Jonathan Kim --- docs/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/testing.rst b/docs/testing.rst index 031cf6b..473a9ba 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -3,6 +3,8 @@ Testing API calls with django If you want to unittest your API calls derive your test case from the class `GraphQLTestCase`. +Your endpoint is set through the `GRAPHQL_URL` attribute on `GraphQLTestCase`. The default endpoint is `GRAPHQL_URL = "/graphql/"`. + Usage: .. code:: python