mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
Fix some errors
This commit is contained in:
parent
81cef14353
commit
779b7b4dc5
0
docs/_static/.gitkeep
vendored
Normal file
0
docs/_static/.gitkeep
vendored
Normal file
|
@ -154,6 +154,7 @@ Adding Login Required
|
||||||
To restrict users from accessing the GraphQL API page the standard Django LoginRequiredMixin_ can be used to create your own standard Django Class Based View, which includes the ``LoginRequiredMixin`` and subclasses the ``GraphQLView``.:
|
To restrict users from accessing the GraphQL API page the standard Django LoginRequiredMixin_ can be used to create your own standard Django Class Based View, which includes the ``LoginRequiredMixin`` and subclasses the ``GraphQLView``.:
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
# views.py
|
# views.py
|
||||||
|
|
||||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||||
|
|
|
@ -30,7 +30,7 @@ Default: ``None``
|
||||||
|
|
||||||
|
|
||||||
``SCHEMA_OUTPUT``
|
``SCHEMA_OUTPUT``
|
||||||
----------
|
-----------------
|
||||||
|
|
||||||
The name of the file where the GraphQL schema output will go.
|
The name of the file where the GraphQL schema output will go.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ Default: ``schema.json``
|
||||||
|
|
||||||
|
|
||||||
``SCHEMA_INDENT``
|
``SCHEMA_INDENT``
|
||||||
----------
|
-----------------
|
||||||
|
|
||||||
The indentation level of the schema output.
|
The indentation level of the schema output.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ Default: ``2``
|
||||||
|
|
||||||
|
|
||||||
``MIDDLEWARE``
|
``MIDDLEWARE``
|
||||||
----------
|
--------------
|
||||||
|
|
||||||
A tuple of middleware that will be executed for each GraphQL query.
|
A tuple of middleware that will be executed for each GraphQL query.
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ Default: ``()``
|
||||||
|
|
||||||
|
|
||||||
``RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST``
|
``RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST``
|
||||||
----------
|
------------------------------------------
|
||||||
|
|
||||||
Enforces relay queries to have the ``first`` or ``last`` argument.
|
Enforces relay queries to have the ``first`` or ``last`` argument.
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Default: ``False``
|
||||||
|
|
||||||
|
|
||||||
``RELAY_CONNECTION_MAX_LIMIT``
|
``RELAY_CONNECTION_MAX_LIMIT``
|
||||||
----------
|
------------------------------
|
||||||
|
|
||||||
The maximum size of objects that can be requested through a relay connection.
|
The maximum size of objects that can be requested through a relay connection.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user