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

Doc clarification for headers arg in testing utils #1117

Merged
merged 1 commit into from Feb 23, 2021

Conversation

isundaylee
Copy link
Contributor

I think it might be helpful to add an explicit hint that HTTP headers should be prepended with HTTP_ as required by django.test.Client (at least it was not super obvious to me when I tried to use it).

I think it might be helpful to add an explicit hint that HTTP headers should be prepended with `HTTP_` as required by `django.test.Client` (at least it was not super obvious to me when I tried to use it).
@zbyte64
Copy link
Collaborator

zbyte64 commented Feb 15, 2021

Great idea adding this call out to the docs. The failure is unrelated to your commit, I noticed someone had a PR that tacked on a fix: https://github.com/graphql-python/graphene-django/pull/1112/files#diff-1d9d6e9e707386e73d8f3b6766c664ff038fd4268bc2b7321e42468f7f31b437
That PR might take a little longer as it adds another database query that it shouldn't. We'll discuss how to resolve this blocker in tomorrow's meeting.

@zbyte64
Copy link
Collaborator

zbyte64 commented Feb 20, 2021

Main branch should be fixed now. Please git fetch main, merge, and push to see if it resolves the build.

@zbyte64 zbyte64 closed this Feb 23, 2021
@zbyte64 zbyte64 reopened this Feb 23, 2021
Copy link
Collaborator

@zbyte64 zbyte64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation improvements are much appreciated 👍

@zbyte64 zbyte64 merged commit beb2e4a into graphql-python:main Feb 23, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants