推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
sunyaxiongnn
V2EX  ›  Python

请问 Django-RESTful-framework 和 class-based views 关系

  •  
  •   sunyaxiongnn · Aug 31, 2016 · 1997 views
    This topic created in 3555 days ago, the information mentioned may be changed or developed.

    前段时间看了 Django-RESTful-framework ,一头雾水;最近又在看 class-based views 也是雾水一头。 但是发现两者有很多相似,核心就是继承、重写,是否可以这么理解,两者就是一回事?或者前者是后者在 web 方向的最佳实践? 现在想通过一个科学的代码结构优化自己零散的代码,感觉 RESTful 是个方向,该怎么安排先后来学呢?如果只是做 web 开发是不是搞定 RESTful 就 ok 了? 请大神们指点一下学习路线

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1156 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:13 · PVG 02:13 · LAX 11:13 · JFK 14:13
    ♥ Do have faith in what you're doing.