mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 09:37:07 +03:00
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>
This commit is contained in:
parent
63418666d9
commit
b84f61afab
|
@ -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`.
|
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:
|
Usage:
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
Loading…
Reference in New Issue
Block a user