Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem in authentication #1448

Open
naveyahav opened this issue Aug 8, 2022 · 0 comments
Open

problem in authentication #1448

naveyahav opened this issue Aug 8, 2022 · 0 comments

Comments

@naveyahav
Copy link

hello friends,
im trying to write this line in "hackernews/settings.py", and there is an error occuring after im adding it:

my code
`
GRAPHENE = {
'SCHEMA': 'hackernews.schema.schema',
}

GRAPHENE = {
'SCHEMA': 'mysite.myschema.schema',
'MIDDLEWARE': [
'graphql_jwt.middleware.JSONWebTokenMiddleware',
],
}
`
the error
"Could not import 'mysite.myschema.schema' for Graphene setting 'SCHEMA'. ModuleNotFoundError: No module named 'mysite'."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant