-
Notifications
You must be signed in to change notification settings - Fork 770
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
DjangoDebug needs context to be writable #1470
Comments
Further searching shows that putting DEBUG to False does work, so it's something to do with how graphene-django interacts with the requests. |
Struggling with the same issue, but setting DEBUG to False does not work for me; I get a blank page instead with no errors when I change that. Environment I attempted this on Django 4.2.8 and see the same error. Similarly, the same issue when downgrading to graphene-django 3.1.3. pipenv graph output The dependency graph for graphene-django 3.1.3 is the same except for the graphene-django version itself. |
I have tested this now on my Digital Ocean server running Ubuntu 23.10 ... and it works for the following environment: Environment In the absence of further testing, this seems to be fine on an x86_64 architecture but on on Apple Scilicon (M2 Pro) |
Hello, |
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
When trying to access http://localhost:8000/graphql with
DEBUG = True
, the GraphQL interface returns the following error and is unable to load the schema:a github repo, https://repl.it or similar (you can use this template as a starting point: https://repl.it/@jkimbo/Graphene-Django-Example).
Blank Django project, set DEBUG to True.
Schema settings used:
Relevant schema file
Relevant models.py file for Team
What is the expected behavior?
I would expect to be able to query the schema using the GraphQL browser
What is the motivation / use case for changing the behavior?
It's not working currently
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)
The text was updated successfully, but these errors were encountered: