Skip to content

Commit

Permalink
Clarify documentation regarding setup
Browse files Browse the repository at this point in the history
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:
- PedroBern#126
  • Loading branch information
vladcalin authored Oct 25, 2021
1 parent e76e17f commit e7a82a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
```

Expand Down

0 comments on commit e7a82a7

Please sign in to comment.