Django框架的python推荐版本是什么? [英] What is the recommended version of python for Django framework?

查看:178
本文介绍了Django框架的python推荐版本是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

*注意:我从来没有像以前那样做过这样的事情(Completely Newbie),就像一年前的Python 2.7.3一样。

*Note: I have never done something like this before(Completely Newbie), just abit on Python 2.7.3 like a year ago.

作为标题我检查一些问题,但是回到2011-2013。

As the title I have check out some of the question but it was way back to 2011-2013.

我想做一个简单的网站,工作类似kickstarter,另外,没有实时聊天。只是一个简单的帖子/评论部分。

I would like to make a simple website, work kind of like kickstarter,in addition, have no realtime-chat. Just a simple post/comment section.

是的,我知道缺点是支持的库,但问题是我不知道我应该是哪个库使用on。

And yes I know the downside is the supported library but the problem is I don't know any of the library that I should be using on.

我应该使用哪个版本?任何建议?

Which version should I use? Any suggestion?

我一直在研究这个
https://wiki.python.org/moin/Python2orPython3#fnref-4fcb00922956f144dafd52e4f75d82631e225d1b

推荐答案

现在(2017年2月),我的选择是绝对明确的 - <3> Django自1.6以来完全支持,而且 Django 2.0将仅仅是Python3.5 +

Nowadays (Feb 2017), the choice is absolutely clear to me - Python 3. Django fully supports it since 1.6 and, moreover, Django 2.0 will be Python3.5+ only.

要检查您的依赖关系是否支持Python-3.x,请使用我可以使用Python 3?服务。另外,检查可重用的Django应用程序的 Django Packages 目录 - 除了其他功能,还有一个包是否支持3 .x或。不。

To check whether your dependency supports Python-3.x or not, use Can I use Python 3? service. Also, check Django Packages directory of reusable Django apps - besides other features there is an indication whether a package supports 3.x or not.

此外,还有很多主题:

  • What Python version should I use with Django?
  • New project: Python 2 or Python 3?
  • python 2.x or 3.x

旧答案

这是否是选择Python-2.x或Python-3的问题。 X。

This is basically a question whether to choose Python-2.x or Python-3.x.

我应该使用Python 2还是Python 3我的开发活动?文章中的Python文档说:

Should I use Python 2 or Python 3 for my development activity? article in Python docs says:


我应该使用哪个版本?

Which version should I use?

您应该使用哪个版本主要取决于您要
完成的内容。

Which version you ought to use is mostly dependent on what you want to get done.

既然你还不了解你的要求 - 那么为了安全起见,更好地坚持2.x分支。目前,它有更多的电池用于所有类型的任务,并不是所有的迁移到Python-3.x。请注意,在2.x分支的情况下,坚持使用最新版本是非常重要的 - 目前,它将是 Python 2.7.7

Since you don't know your requirements yet - then, just to be safe, better stick to 2.x branch. Currently, it has a lot more batteries for all sort of tasks, and not all of them migrated to Python-3.x. Note that it is important to stick with the latest release, in case of 2.x branch - currently, it would be Python 2.7.7.

这篇关于Django框架的python推荐版本是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆