Django RESTful API - django-piston vs. django-tastypie

后端 未结 4 1177
梦毁少年i
梦毁少年i 2021-01-30 04:45

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 a

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 05:06

    A good resource to compare them is http://www.djangopackages.com/grids/g/api/

    Django-tastypie sure is the save choice right now.

    Personally I'd advocate a look at django-rest-framework if you use django 1.3, because it uses the new class based views. djangopackages.com's comparison page shows it has good participation and activity. And, wow, it sure has a nice browsable interface to the API.

提交回复
热议问题