V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2015-06-27 14:24:25 +08:00 · 6566 次点击
    这是一个创建于 3223 天前的主题,其中的信息可能已经有所发展或是发生改变。
    “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 条回复    2015-06-30 23:16:53 +08:00
    pythonee
        1
    pythonee  
       2015-06-27 14:40:52 +08:00
    逼我学3吗
    zeroten
        2
    zeroten  
       2015-06-27 14:47:03 +08:00 via Android
    感觉并没有什么用
    Ouyangan
        3
    Ouyangan  
       2015-06-27 15:00:09 +08:00
    好想问问 , 大家是什么时候开始啃英文文档的 .
    Shared
        4
    Shared  
       2015-06-27 15:04:05 +08:00
    可喜可贺!再不支持 3 我就成 Flask 通了……
    ericls
        5
    ericls  
       2015-06-27 16:27:12 +08:00
    @Shared 同感,但是 flask 要3.3+
    deben
        6
    deben  
       2015-06-27 16:28:12 +08:00
    Python 3.2+ 搞中文的时候还会乱码吗?
    loading
        7
    loading  
       2015-06-27 20:08:22 +08:00 via Android   ❤️ 1
    这是逼我同时维护 2.7 和 3.2 的各种代码!!!
    loading
        8
    loading  
       2015-06-27 21:07:03 +08:00 via Android
    真的,我又开始看 go 的教程了…
    Tiande
        9
    Tiande  
       2015-06-27 21:31:43 +08:00
    @loading 好激动hhhh
    wezzard
        10
    wezzard  
       2015-06-27 21:33:35 +08:00
    Swift saves your life.
    echo1937
        11
    echo1937  
       2015-06-27 21:35:06 +08:00
    @deben 不会.exe
    @wezzard Swift还有一堆东西等人去填
    loading
        12
    loading  
       2015-06-27 21:41:42 +08:00 via Android
    @dtdnqsb 你激动啥?
    zjxubinbin
        13
    zjxubinbin  
       2015-06-27 21:43:11 +08:00
    看来是时候学Rust了
    Tiande
        14
    Tiande  
       2015-06-27 21:46:24 +08:00
    @loading
    我是说你比较激动

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

    hhh
    loading
        15
    loading  
       2015-06-27 21:48:20 +08:00 via Android
    @dtdnqsb 还好,因为只要我不用 3,短期没人会用!
    哈哈哈
    macemers
        16
    macemers  
       2015-06-27 22:23:25 +08:00 via iPad
    现在一般Python还是2为主吧?
    zmj1316
        17
    zmj1316  
       2015-06-27 22:40:41 +08:00
    3能够解决编码问题还是不错的,主要是windows下的编码太纠结,刚写了个Qt的东西,用的utf-8怎么样都会乱码,只能老老实实用GBK的
    lilydjwg
        18
    lilydjwg  
       2015-06-27 23:14:49 +08:00
    @Ouyangan 从发现没有中文资料可用开始。
    Huozic
        19
    Huozic  
       2015-06-27 23:20:44 +08:00
    已经用上3.4了。
    ericls
        20
    ericls  
       2015-06-27 23:22:56 +08:00
    @Ouyangan 中文文档里面的专业术语看不懂。。
    Comphuse
        21
    Comphuse  
    OP
       2015-06-27 23:51:04 +08:00
    @Ouyangan 在被某本书瘪脚的翻译恶心到之后。
    feilaoda
        22
    feilaoda  
       2015-06-28 10:14:21 +08:00
    已经放弃2.7,开始用3.4开发了
    ladrift
        23
    ladrift  
       2015-06-28 18:22:38 +08:00 via Android
    @Huozic 同3.4。话说你怎么头像跟我这么像。
    Huozic
        24
    Huozic  
       2015-06-29 09:34:39 +08:00
    @ladrift 我们头像都同个软件做的吧……
    fy
        25
    fy  
       2015-06-30 23:16:53 +08:00
    我也已经全用3来开发新项目了。新的异步特性很不错
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1535 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:04 · PVG 01:04 · LAX 10:04 · JFK 13:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.