Django的Web Service发布接口 Tastypie

jopen 13年前
     <p>Tastypie 是为 Django 框架提供的 Web 服务 API,提供了常规的、强大以及高可定制的、抽象的创建 RESTful 风格接口的工具。</p>    <p>特性:</p>    <dl>     <dd>      Full      <code>GET/POST/PUT/DELETE/PATCH</code> support     </dd>     <dd>      Reasonable defaults     </dd>     <dd>      Designed to be extended at every turn     </dd>     <dd>      A variety of serialization formats (JSON/XML/YAML/bplist)     </dd>     <dd>      HATEOAS by default     </dd>     <dd>      Well-tested & well-documented     </dd>    </dl>    <p>开始使用:</p>    <ol>     <li>Install using Pip: <code>pip install django-tastypie</code></li>     <li>Add to installed apps: <code>INSTALLED_APPS += ['tastypie']</code></li>     <li>Syncdb: <code>./manage.py syncdb</code></li>     <li>Create your resource(s)</li>     <li>Hook them up in the URLconf</li>    </ol>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1328231872890" target="_blank">http://www.open-open.com/lib/view/home/1328231872890</a></p>