You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* merge master into v3
* fix order_by snake casing by checking if value is None, switch executor to execution_context_class since schema.execute no longer supports executor
* fix linting by removing duplicate defintion and test of convert_form_field_to_string_list
Copy file name to clipboardExpand all lines: docs/installation.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ To learn how to extend the schema object for your project, read the basic tutori
73
73
CSRF exempt
74
74
-----------
75
75
76
-
If have enabled `CSRF protection <https://docs.djangoproject.com/en/3.0/ref/csrf/>`_ in your Django app
76
+
If you have enabled `CSRF protection <https://docs.djangoproject.com/en/3.0/ref/csrf/>`_ in your Django app
77
77
you will find that it prevents your API clients from POSTing to the ``graphql`` endpoint. You can either
78
78
update your API client to pass the CSRF token with each request (the Django docs have a guide on how to do that: https://docs.djangoproject.com/en/3.0/ref/csrf/#ajax) or you can exempt your Graphql endpoint from CSRF protection by wrapping the ``GraphQLView`` with the ``csrf_exempt``
0 commit comments