Skip to main content

Piston for Python 3.3+ and Django 1.6+ - Compatible with Python 2.7

Project description

Piston for Python 3.3+ and Django 1.6+
======================================

<https://bitbucket.org/userzimmermann/django-piston3>

* Compatible with __Python 2.7__
* Forked from <https://bitbucket.org/spookylukey/django-piston>
([diff](https://bitbucket.org/userzimmermann/django-piston3/branches/compare/master..spookylukey#diff))
* Based on <https://bitbucket.org/jespern/django-piston>
([diff](https://bitbucket.org/userzimmermann/django-piston3/branches/compare/master..jespern#diff))
* Merged with <https://bitbucket.org/j00bar/django-piston>
([diff](https://bitbucket.org/userzimmermann/django-piston3/branches/compare/master..j00bar#diff))


Usage
-----

* Import `piston3` instead of `piston`
* Original documentation:
<https://bitbucket.org/jespern/django-piston/wiki/Home>

### Issues

* Creation of `request.PUT` and `request.FILES` on __PUT__ requests,
handled by `piston3.utils.coerce_put_post`, doesn't work properly,
`Issue36RegressionTests` __fail__
* All other tests __pass__


Setup
-----

### Requirements

* [`six`](https://bitbucket.org/gutworth/six)
* [`python-mimeparse`](https://github.com/dbtsai/python-mimeparse)
* [`django >= 1.6`](http://www.djangoproject.com)

### Installation

python setup.py install

Or with [pip](http://www.pip-installer.org):

pip install .

Or from [PyPI](https://pypi.python.org/pypi/django-piston3):

pip install django-piston3

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

django-piston3-0.3pre1.tar.gz (38.3 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