推荐学习书目
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
28hua
V2EX  ›  Python

Django 的通用视图是为了解决什么问题, 什么时候应该使用通用视图

  •  
  •   28hua · Apr 28, 2015 · 3529 views
    This topic created in 4062 days ago, the information mentioned may be changed or developed.
    3 replies    2015-04-29 08:47:03 +08:00
    twor2
        1
    twor2  
       Apr 28, 2015   ❤️ 1
    sallowdish
        2
    sallowdish  
       Apr 29, 2015
    CRUD
    ericls
        3
    ericls  
       Apr 29, 2015   ❤️ 1
    比如在显示文章内容 和列表的时候 相当相当方便,

    但是和 FBV 的思路有一个很大的转换,这是我当时迟迟不想用的一个主要原因

    个人推荐 比如在显示内容,列表的时候可以尝试一下 CBV。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5553 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 06:27 · PVG 14:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.