Skip to main content

Plist support for Django REST framework

Project description

Django Rest Framework Plist

Version:

0.2.0

Author:

Luke Pomfrey

Overview

This package provides Plist serialization support for Django REST framework.

It is largely based on the msgpack implementation by Juan Riaza.

How to install

Install using pip:

$ pip install djangorestframework-plist

…or clone the project from github:

$ git clone git@github.com:lpomfrey/django-rest-framework-plist.git

How use it?

This package provides a renderer PlistRenderer and a parser PlistParser.

Setting the renderer and the parser

Just follow the 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

Running the tests

To run the tests against the current environment:

./manage.py test

Changelog

0.1.0

28th May 2013

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangorestframework-plist-0.2.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page