Plist serialization support for Django REST framework.
Install using pip
:
$ pip install djangorestframework-plist
...or clone the project from github:
$ git clone [email protected]:lpomfrey/django-rest-framework-plist.git
This package provides a renderer (rest_framework_plist.PlistRenderer
) and a
parser (rest_framework_plist.PlistParser
).
Add the renderer and/or parser provided by this package to your settings, as described in the django-rest-framework documentation:
rest_framework_plist.renderers.PlistRenderer |
|
---|---|
Renders the request data into Plist . |
|
.media_type | application/x-plist |
.format | plist |
rest_framework_plist.parsers.PlistParser |
|
---|---|
Parses Plist request content. |
|
.media_type | application/x-plist |