From e7a82a7a33b3f5273926ac9127974dd171b23597 Mon Sep 17 00:00:00 2001 From: Calin Vlad Date: Mon, 25 Oct 2021 12:50:43 +0300 Subject: [PATCH] Clarify documentation regarding setup There is some confusion caused by the AUTHENTICATION_BACKENDS setup instructions from the documentation, which when not set properly, it will cause confusing errors to appear which are not related to the error source. Example of such confusion: - https://github.com/PedroBern/django-graphql-auth/issues/126 --- docs/installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index c2fde84..852f26c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -190,7 +190,8 @@ AUTHENTICATION_BACKENDS = [ # add this "graphql_auth.backends.GraphQLAuthBackend", - # ... + # if you have no more authentication backends defined besides graphql_auth.backends.GraphQLAuthBackend, add this + "django.contrib.auth.backends.ModelBackend" ] ```