一.环境安装要求:

django1.8 python2.7 restful3.2(一定要注意版本,版本不一致会报很多错误,特别是django1.8是在python2.7的基础上才能够运用)

二.环境搭建:

pip install djangorestframework
pip install markdown       # Markdown support for the browsable API.
pip install django-filter

三.理解RESTful:

请参考(http://www.ruanyifeng.com/blog/2011/09/restful.html)

四.关于RESTful的设计:

请参考(http://www.ruanyifeng.com/blog/2014/05/restful_api.html)

接下来 我会用我在这个过程中的实际例子,来为大家说明关于RESTful的具体运用