From 12a4931c15d50b301984ee4920f39ada7705ba2e Mon Sep 17 00:00:00 2001 From: fneitzel Date: Thu, 2 Apr 2020 15:06:48 +0200 Subject: [PATCH] Documentation missing endpoint explanation Add some information about GRAPHQL_URL. Otherwise people run into ERROR 400 problems, if they have a different endpoint. --- docs/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/testing.rst b/docs/testing.rst index 031cf6b..bf7009a 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 with `GRAPHQL_URL`. The default endpoint is `GRAPHQL_URL="/graphql/"` in `GraphQLTestCase` + Usage: .. code:: python