Skip to content

lpomfrey/django-rest-framework-plist

Repository files navigation

Django Rest Framework Plist

Plist serialization support for Django REST framework.

https://badge.fury.io/py/djangorestframework-plist.png https://travis-ci.org/lpomfrey/django-rest-framework-plist.png?branch=master https://coveralls.io/repos/lpomfrey/django-rest-framework-plist/badge.png?branch=master

Installation

Install using pip:

$ pip install djangorestframework-plist

...or clone the project from github:

$ git clone [email protected]:lpomfrey/django-rest-framework-plist.git

Usage

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

About

Plist parsing and rendering for django-rest-framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages