Top "Django-piston" questions

A mini-framework for Django for creating RESTful APIs.

Using "Content-Type:application/json" to post in curl gives HTTP/1.1 400 BAD REQUEST

When I make a post request using the following curl -i -d "username=rock&password=rock" http://my_VM_…

django api curl http-post django-piston
Exception was: unsupported operand type(s) for -: 'str' and 'datetime.timedelta'

I am new with python and I am making a system that deals with request.GET method... when i pass …

python django django-piston
How to ensure that a python dict keys are lowercase?

I have a dict that I want to convert in JSON using simplejson. How can I ensure that all the …

python json simplejson django-piston
Django RESTful API - django-piston vs. django-tastypie

We're looking for a general RESTful API solution for our Django project. We would use the API at first for …

django api django-piston
Descriptor 'date' requires a 'datetime.datetime' object but received a 'unicode'

I am using piston to write a JSON api for an application I am writing which handles recurring calendar events. …

python django django-piston
How do I update an already existing row when using ModelForms?

I have a question on how to update an existing row in my database when one of the fields is …

python django modelform django-piston
How to prevent 'IOError: failed to write data' when client closes connection to Django/WSGI app?

I have an iPhone app that is using web services implemented in Python, using Django and Piston, running on an …

python django apache mod-wsgi django-piston
Running Django-Celery in Production

I've built a Django web application and some Django-Piston services. Using a web interface a user submits some data which …

django celery django-piston
ValueError: Cannot assign in django

I have encountered a problem when I was trying to add/post a data to my models. this is what …

python xml django django-piston