mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Merge pull request #3114 from jpadilla/master
Fix custom parser example
This commit is contained in:
commit
b24741ae89
|
@ -147,7 +147,6 @@ The following is an example plaintext parser that will populate the `request.dat
|
||||||
"""
|
"""
|
||||||
Plain text parser.
|
Plain text parser.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
media_type = 'text/plain'
|
media_type = 'text/plain'
|
||||||
|
|
||||||
def parse(self, stream, media_type=None, parser_context=None):
|
def parse(self, stream, media_type=None, parser_context=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user