TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Django and Python 3

110 点作者 dermatthias超过 14 年前

5 条评论

wisty超过 14 年前
Here would be my plan (though I'm not good enough to carry it out):<p>1. Port the dispatcher to P3.<p>2. Do something magic with urls.py, so you choose which version (2.X or 3.X) you want doing the query.<p>At this point, people can use URL plumbing to gradually port their Django projects.<p>3. Port the parts where Python 3 is a killer feature. String formatting, Unicode handling (maybe), function decorators, and metaclasses. This is the hard part - where would python 3 add some killer features to django?<p>You also need to do the db layer, the templating, and all that jazz, but that should follow once you have the incentive of actually seeing it work in your browser.
评论 #2231048 未加载
prog超过 14 年前
I started working on an app using Python 2.7. The only reason I chose 2.7 over 3.x was the lack of 3.x support in Django. I would be great to have Django support Python 3.x.
评论 #2230922 未加载
clojurerocks超过 14 年前
Its nice to see posts about python and django. Ive only played around with them a little bit but having options is always a good thing and right now it seems the frameworks discussion is really dominated by Rails.
danssig超过 14 年前
So this is an appeal to get taken up for google summer of code? Doesn't google have pages for these kind of requests?
评论 #2231176 未加载
评论 #2231963 未加载
vipivip超过 14 年前
Kudos python 3.x