开发者

Django-nonrel on Google App Engine API creation

开发者 https://www.devze.com 2023-04-08 06:40 出处:网络
I\'m developing an app that interfaces with an iPhone app via an API. I am building it on Google App Engine, using django-nonrel. I\'m looking for a solution that allows me to build read-write APIs th

I'm developing an app that interfaces with an iPhone app via an API. I am building it on Google App Engine, using django-nonrel. I'm looking for a solution that allows me to build read-write APIs that perform CRUD operations.

I'开发者_如何学Pythonve tried django-tastypie, but it doesn't work with django-nonrel.

The biggest restriction of django-nonrel is no JOINs.

What is the best way to write those APIs? Should I just write the views from scratch, or is there some library that I could use?

Thanks in advance!


I got tastypie working, with two small code changes. It was pretty simple.

See here: http://eatdev.tumblr.com/post/12076483835/tastypie-on-django-nonrel-on-app-engine

0

精彩评论

暂无评论...
验证码 换一张
取 消