TastypieDjango的Web服务接口
Tastypie 是为 Django 框架提供的 Web 服务 API,提供了常规的、强大以及高可定制的、抽象的创建 RESTful 风格接口的工具。
特性:
- 
   Full 
GET/POST/PUT/DELETE/PATCHsupport - Reasonable defaults
 - Designed to be extended at every turn
 - A variety of serialization formats (JSON/XML/YAML/bplist)
 - HATEOAS by default
 - Well-tested & well-documented
 
开始使用:
- Install using Pip: 
pip install django-tastypie - Add to installed apps: 
INSTALLED_APPS += ['tastypie'] - Syncdb: 
./manage.py syncdb - Create your resource(s)
 - Hook them up in the URLconf
 
评论
