
Django REST framework
文章平均质量分 82
shanliangliuxing
这个作者很懒,什么都没留下…
展开
-
Django REST framework
转自:http://django-rest-framework.org/#tutorialDjango REST frameworkA toolkit for building well-connected, self-describing Web APIs.Django REST framework is a lightweight library that ma转载 2013-02-25 22:20:03 · 2887 阅读 · 1 评论 -
django rest framework关联关系——Serializer relations
转自:http://django-rest-framework.org/api-guide/relations.htmlSerializer relationsBad programmers worry about the code. Good programmers worry about data structures and their relationships.转载 2013-02-27 21:46:27 · 6122 阅读 · 0 评论 -
使用Django与Piston构建RESTful WebService及Django
转自:http://www.360doc.com/content/13/0226/17/9342056_268046626.shtmlDjango一款是Python的强大web开发框架, 由于它是url配置式的框架, 感觉上用它做RESTful的webservice应该是得心应手的。果然我在探寻之下, 发现一款优秀的基于Django的轻量级RESTful api搭建框架: Piston。官转载 2013-02-26 17:44:02 · 1443 阅读 · 0 评论 -
Django实战(15):Django实现RESTful web service
原文地址:http://blog.csdn.net/thinkinside/article/details/7236807,欢迎转载,请保留链接!曾几何时,Ajax已经统治了Web开发中的客户端,而REST成为web世界中最流行的架构风格(architecture style)。所以我们的选择变得很简单:前端ajax访问后端的RESTful web service对资源进行操作。Dja转载 2013-02-25 22:15:22 · 2356 阅读 · 0 评论 -
django rest framework 入门5——Relationships & Hyperlinked APIs
转自:http://django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis.htmlTutorial 5 - Relationships & Hyperlinked APIsAt the moment relationships within our API are represente转载 2013-02-26 15:10:17 · 1213 阅读 · 0 评论 -
django rest framework 入门4——Authentication & Permissions
转自:http://django-rest-framework.org/tutorial/4-authentication-and-permissions.htmlTutorial 4: Authentication & PermissionsCurrently our API doesn't have any restrictions on who can edit or转载 2013-02-26 13:47:23 · 1466 阅读 · 0 评论 -
django rest framework 入门3——Class Based Views
转自:http://django-rest-framework.org/tutorial/3-class-based-views.htmlTutorial 3: Class Based ViewsWe can also write our API views using class based views, rather than function based views.转载 2013-02-26 13:46:22 · 1023 阅读 · 0 评论 -
django rest framework 入门2——Request and Response
转自:http://blog.csdn.net/zhaoyingm/article/details/8532808从本节我们开始真正接触rest framework的核心部分。首先我们学习一下一些必备知识。1. Request Object ——Request对象rest framework 引入了一个继承自HttpRequest的Request对象,该对转载 2013-02-25 22:18:37 · 1088 阅读 · 0 评论 -
Django REST framework API
转自:https://django-rest-framework.readthedocs.org/en/0.3.1/index.htmlDjango REST frameworkIntroductionDjango REST framework is a lightweight REST framework for Django, that aims to make i转载 2013-02-25 22:28:58 · 1977 阅读 · 0 评论 -
piston-在django中实现REST风格的API
转自:http://www.cnblogs.com/emotion164/archive/2012/02/19/2358738.html先说说我对REST的理解,在REST之前,web service的设计方法主流应该是SOAP,我觉得SOAP一定是那些搞C++/C#的人设计出来的,因为SOAP思考问题的着眼点是如何把之前已有的系统搬到web上去。而REST的理念更有方法论的味道,更贴转载 2013-02-25 22:22:21 · 884 阅读 · 0 评论 -
django rest framework 入门1-序列化 Serialization
转自:http://blog.csdn.net/zhaoyingm/article/details/85316171. 设置一个新的环境在我们开始之前, 我们首先使用virtualenv要创建一个新的虚拟环境,以使我们的配置和我们的其他项目配置彻底分开。 $mkdir ~/env$virtualenv ~/env/tutorial$source ~/转载 2013-02-25 22:16:29 · 2435 阅读 · 0 评论 -
Django API
转自:https://www.djangopackages.com/grids/g/api/home / grids / API CreationAll packages for exposing APIs of your Django models.Landscape ViewFeatures currently being evaluated转载 2013-02-25 22:26:56 · 1707 阅读 · 0 评论 -
django rest framework中认证Authentication
转自:http://django-rest-framework.org/api-guide/authentication.htmlAuthenticationAuth needs to be pluggable.— Jacob Kaplan-Moss, "REST worst practices"Authentication is the mechani转载 2013-04-07 17:26:44 · 9823 阅读 · 1 评论