Skip to content

Commit a8a6555

Browse files
authored
Merge pull request #584 from vpoulailleau/patch-1
fix documentation to access to the request in Django
2 parents 36a902f + 98c2af3 commit a8a6555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/relay/mutations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Mutations can also accept files, that's how it will work with different integrat
4848
@classmethod
4949
def mutate_and_get_payload(cls, root, info, **input):
5050
# When using it in Django, context will be the request
51-
files = context.FILES
51+
files = info.context.FILES
5252
# Or, if used in Flask, context will be the flask global request
5353
# files = context.files
5454

0 commit comments

Comments
 (0)