Skip to content

Commit b84f61a

Browse files
fneitzeljkimbo
andauthored
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 <jkimbo@gmail.com> Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
1 parent 6341866 commit b84f61a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/testing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Testing API calls with django
33

44
If you want to unittest your API calls derive your test case from the class `GraphQLTestCase`.
55

6+
Your endpoint is set through the `GRAPHQL_URL` attribute on `GraphQLTestCase`. The default endpoint is `GRAPHQL_URL = "/graphql/"`.
7+
68
Usage:
79

810
.. code:: python

0 commit comments

Comments
 (0)