django-piston Questions

4

Solved

Before I was just using the build-in django serializers and it added a model field. { pk: 1 model: "zoo.cat" } How can I get the same model field using django-piston? I tried fields = ('id', ...
Wayless asked 15/3, 2011 at 19:40

2

Solved

I am new with python and I am making a system that deals with request.GET method... when i pass a date to the system, if it is exist then it will look for the database and show data according to t...
Porty asked 3/12, 2011 at 6:33

8

Solved

I have a dict that I want to convert in JSON using simplejson. How can I ensure that all the keys of my dict are lowercase ? { "DISTANCE": 17.059918745802999, "name": "Foo Bar", "Restaurant...
Alenaalene asked 19/11, 2010 at 9:31

4

Solved

I have a question on how to update an existing row in my database when one of the fields is my primary key. I am using ModelForm and Django-Piston - my main goal here is to have RESTful Post send t...
Picardi asked 23/11, 2009 at 0:7

3

I have to write RESTFUL web-services with authentication in python using django framework which will be consumed by web based clients and mobile native apps (Android and IOS). the simple example w...
Porphyry asked 18/8, 2012 at 1:52

7

I am trying to use Piston to provide REST support to Django. I have implemented my handlers as per the documentation provided . The problem is that i can "read" and "delete" my resource but i canno...
Junta asked 27/12, 2010 at 7:50

3

We're porting our API from Django - Piston to Django-TastyPie. Everything went smoothly, 'till we got to this: urls.py of the app url(r'^upload/', Resource(UploadHandler, authentication=KeyAuthe...
Aviary asked 28/7, 2011 at 12:9

4

Solved

We're looking for a general RESTful API solution for our Django project. We would use the API at first for Ajax calls on the web site and later for mobile apps, external apps and things like that. ...
Phidias asked 8/12, 2011 at 11:48

3

Solved

I'm looking for a tutorial/example/explanation about writing a two-legged provider for OAuth in Django. It's hard to find documentation about a OAuth provider, and even harder about a two-legged s...
Outface asked 2/8, 2011 at 11:29

1

Solved

I realize there are a ton of questions on this subject, and I have been researching this for a couple days now. I want to make sure my question is as specific as possible since I have yet to gain a...

4

Solved

I'm developing an advertising site and want to use web services for the requests. I mean, a publisher site will put a JavaScript snippet and it will pull a banner through a REST GET. Is the django...
Jojo asked 20/9, 2010 at 14:52

4

Solved

What do you prefer when you want to "RESTify" your Django project in Django? I came to the conclusion that there are really three options to do that: django-piston http://bitbucket.org/jespern/d...
Keven asked 20/11, 2010 at 16:37

1

Solved

I've been reading a lot on django-piston and using to to make an API for an app I'm development, but I'm getting hung up on the client side of the world. I've written the handlers and uri mappings,...
Swan asked 16/12, 2010 at 5:59

1

I have followed a number of tutorials and examples on the web to setup and use django piston. They all work flawlessly, until i try to integrate oauth authentication. I have been working against th...
Amidase asked 27/7, 2010 at 11:18

2

Solved

I've looked at the relevant section of the Piston documentation, but it only seems to focus on how to turn it on, not what it would look like for clients or how to test it to verify it's work...
Joselow asked 28/11, 2009 at 20:4

1

Solved

I've built a Django web application and some Django-Piston services. Using a web interface a user submits some data which is POSTed to a web service and that web service in turn uses Django-celery ...
Lackaday asked 23/7, 2010 at 19:34

2

Solved

I am pulling my hair out here because this isn't working for me and seems like it should be. I am using Django-Piston to develop an API and have 2 models, Building and Building Area. BuildingArea...
Devoirs asked 21/2, 2010 at 12:43

2

Solved

I tried using Piston for a simple API, hoping to use its OAuth support. But the first time I hit the endpoint after enabling OAuth, I got an error: TemplateDoesNotExist: oauth/challenge.html and...
Etter asked 13/11, 2009 at 22:23
1

© 2022 - 2024 — McMap. All rights reserved.