diff --git a/docs/authorization.rst b/docs/authorization.rst index ebc9795..1b7ab55 100644 --- a/docs/authorization.rst +++ b/docs/authorization.rst @@ -166,7 +166,7 @@ To restrict users from accessing the GraphQL API page the standard Django LoginR After this, you can use the new ``PrivateGraphQLView`` in the project's URL Configuration file ``url.py``: -For Django 1.9 and below: +For Django 1.11: .. code:: python @@ -184,4 +184,4 @@ For Django 2.0 and above: path('graphql', PrivateGraphQLView.as_view(graphiql=True, schema=schema)), ] -.. _LoginRequiredMixin: https://docs.djangoproject.com/en/1.10/topics/auth/default/#the-loginrequired-mixin +.. _LoginRequiredMixin: https://docs.djangoproject.com/en/1.11/topics/auth/default/#the-loginrequired-mixin