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

Django 1.8 的官方教程已经推荐 Python 3.2+ 了

  •  
  •   Comphuse · Jun 27, 2015 · 8119 views
    This topic created in 4151 days ago, the information mentioned may be changed or developed.
    “This tutorial is written for Django 1.8 and Python 3.2 or later. If the Django version doesn’t match, you can refer to the tutorial for your version of Django by using the version switcher at the bottom right corner of this page, or update Django to the newest version. If you are still using Python 2.7, you will need to adjust the code samples slightly, as described in comments.“
    https://docs.djangoproject.com/en/1.8/intro/tutorial01/
    25 replies  •  2015-06-30 23:16:53 +08:00
    pythonee
    pythonee
    Jun 27, 2015
    1
    逼我学3吗
    zeroten
    zeroten
    Jun 27, 2015 via Android
    2
    感觉并没有什么用
    Ouyangan
    Ouyangan
    Jun 27, 2015
    3
    好想问问 , 大家是什么时候开始啃英文文档的 .
    Shared
    Shared
    Jun 27, 2015
    4
    可喜可贺!再不支持 3 我就成 Flask 通了……
    ericls
    ericls
    Jun 27, 2015
    5
    @Shared 同感,但是 flask 要3.3+
    deben
    deben
    Jun 27, 2015
    6
    Python 3.2+ 搞中文的时候还会乱码吗?
    loading
    loading
    Jun 27, 2015 via Android❤️1
    7
    这是逼我同时维护 2.7 和 3.2 的各种代码!!!
    loading
    loading
    Jun 27, 2015 via Android
    8
    真的,我又开始看 go 的教程了…
    Tiande
    Tiande
    Jun 27, 2015
    9
    @loading 好激动hhhh
    wezzard
    wezzard
    Jun 27, 2015
    10
    Swift saves your life.
    echo1937
    echo1937
    Jun 27, 2015
    11
    @deben 不会.exe
    @wezzard Swift还有一堆东西等人去填
    loading
    loading
    Jun 27, 2015 via Android
    12
    @dtdnqsb 你激动啥?
    zjxubinbin
    zjxubinbin
    Jun 27, 2015
    13
    看来是时候学Rust了
    Tiande
    Tiande
    Jun 27, 2015
    14
    @loading
    我是说你比较激动

    “这是逼我同时维护 2.7 和 3.2 的各种代码!!!”

    hhh
    loading
    loading
    Jun 27, 2015 via Android
    15
    @dtdnqsb 还好,因为只要我不用 3,短期没人会用!
    哈哈哈
    macemers
    macemers
    Jun 27, 2015 via iPad
    16
    现在一般Python还是2为主吧?
    zmj1316
    zmj1316
    Jun 27, 2015
    17
    3能够解决编码问题还是不错的,主要是windows下的编码太纠结,刚写了个Qt的东西,用的utf-8怎么样都会乱码,只能老老实实用GBK的
    lilydjwg
    lilydjwg
    Jun 27, 2015
    18
    @Ouyangan 从发现没有中文资料可用开始。
    Huozic
    Huozic
    Jun 27, 2015
    19
    已经用上3.4了。
    ericls
    ericls
    Jun 27, 2015
    20
    @Ouyangan 中文文档里面的专业术语看不懂。。
    Comphuse
    Comphuse
    OP
    Jun 27, 2015
    21
    @Ouyangan 在被某本书瘪脚的翻译恶心到之后。
    feilaoda
    feilaoda
    Jun 28, 2015
    22
    已经放弃2.7,开始用3.4开发了
    ladrift
    ladrift
    Jun 28, 2015 via Android
    23
    @Huozic 同3.4。话说你怎么头像跟我这么像。
    Huozic
    Huozic
    Jun 29, 2015
    24
    @ladrift 我们头像都同个软件做的吧……
    fy
    fy
    Jun 30, 2015
    25
    我也已经全用3来开发新项目了。新的异步特性很不错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   681 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 21:19 · PVG 05:19 · LAX 13:19 · JFK 16:19
    ♥ Do have faith in what you're doing.