Skip to content

Commit 9726b32

Browse files
author
Eric Honkanen
committed
Added parser_context pass through
1 parent 33fb4fa commit 9726b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework_ember/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def parse(self, stream, media_type=None, parser_context=None):
2727
Parses the incoming bytestream as JSON and returns the resulting data
2828
"""
2929
result = super(JSONParser, self).parse(stream, media_type=media_type,
30-
parser_context=None)
30+
parser_context=parser_context)
3131
resource = result.get(get_resource_name(parser_context.get('view', None)))
3232
return format_keys(resource, 'underscore')
3333

0 commit comments

Comments
 (0)