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

2015-06-27 14:24:25 +08:00
 Comphuse
“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/
6582 次点击
所在节点    Python
25 条回复
pythonee
2015-06-27 14:40:52 +08:00
逼我学3吗
zeroten
2015-06-27 14:47:03 +08:00
感觉并没有什么用
Ouyangan
2015-06-27 15:00:09 +08:00
好想问问 , 大家是什么时候开始啃英文文档的 .
Shared
2015-06-27 15:04:05 +08:00
可喜可贺!再不支持 3 我就成 Flask 通了……
ericls
2015-06-27 16:27:12 +08:00
@Shared 同感,但是 flask 要3.3+
deben
2015-06-27 16:28:12 +08:00
Python 3.2+ 搞中文的时候还会乱码吗?
loading
2015-06-27 20:08:22 +08:00
这是逼我同时维护 2.7 和 3.2 的各种代码!!!
loading
2015-06-27 21:07:03 +08:00
真的,我又开始看 go 的教程了…
Tiande
2015-06-27 21:31:43 +08:00
@loading 好激动hhhh
wezzard
2015-06-27 21:33:35 +08:00
Swift saves your life.
echo1937
2015-06-27 21:35:06 +08:00
@deben 不会.exe
@wezzard Swift还有一堆东西等人去填
loading
2015-06-27 21:41:42 +08:00
@dtdnqsb 你激动啥?
zjxubinbin
2015-06-27 21:43:11 +08:00
看来是时候学Rust了
Tiande
2015-06-27 21:46:24 +08:00
@loading
我是说你比较激动

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

hhh
loading
2015-06-27 21:48:20 +08:00
@dtdnqsb 还好,因为只要我不用 3,短期没人会用!
哈哈哈
macemers
2015-06-27 22:23:25 +08:00
现在一般Python还是2为主吧?
zmj1316
2015-06-27 22:40:41 +08:00
3能够解决编码问题还是不错的,主要是windows下的编码太纠结,刚写了个Qt的东西,用的utf-8怎么样都会乱码,只能老老实实用GBK的
lilydjwg
2015-06-27 23:14:49 +08:00
@Ouyangan 从发现没有中文资料可用开始。
Huozic
2015-06-27 23:20:44 +08:00
已经用上3.4了。
ericls
2015-06-27 23:22:56 +08:00
@Ouyangan 中文文档里面的专业术语看不懂。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/201552

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX