Tastypie 是为 Django 框架提供的 Web 服务 API,提供了常规的、强大以及高可定制的、抽象的创建 RESTful 风格接口的工具。
特性:
Full `GET/POST/PUT/DELETE/PATCH` support Reasonable defaults Designed to be extended at every turn A variety of serialization formats (JSON/XML/YAML/bplist) [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS) by default Well-tested & well-documented
开始使用:
pip install django-tastypie
INSTALLED_APPS += ['tastypie']
./manage.py syncdb