1
0
mirror of https://github.com/django/django.git synced 2025-03-12 02:12:38 +00:00

Clarified faq/install w.r.t. the various Python versions available.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2009-10-23 19:52:15 +00:00
parent 7770c70007
commit fa6ca072a3

View File

@ -43,25 +43,23 @@ PostgreSQL fans, and MySQL_, `SQLite 3`_, and Oracle_ are also supported.
.. _Oracle: http://www.oracle.com/ .. _Oracle: http://www.oracle.com/
Do I lose anything by using Python 2.4 versus newer Python versions, such as Python 2.5 or 2.6? Do I lose anything by using Python 2.4 versus newer Python versions, such as Python 2.5 or 2.6?
---------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
Not in the core framework. Currently, Django itself officially Not in the core framework. Currently, Django itself officially supports any
supports any version of Python from 2.4 through 2.6, version of Python from 2.4 through 2.6, inclusive. However, newer versions of
inclusive. However, some add-on components may require a more recent Python are often faster, have more features, and are better supported.
Python version; the ``django.contrib.gis`` component, for example, Third-party applications for use with Django are, of course, free to set their
requires at least Python 2.4, and third-party applications for use own version requirements.
with Django are, of course, free to set their own version
requirements.
Please note, however, that over the next year or two Django will begin Over the next year or two Django will begin dropping support for older Python
dropping support for older Python versions as part of a migration versions as part of a migration which will end with Django running on Python 3
which will end with Django running on Python 3.0 (see next question (see below for details).
for details). So if you're just starting out with Python, it's
recommended that you use the latest 2.x release (currently, Python All else being equal, we recommend that you use the latest 2.x release
2.6). This will let you take advantage of the numerous improvements (currently Python 2.6). This will let you take advantage of the numerous
and optimizations to the Python language since version 2.4, and will improvements and optimizations to the Python language since version 2.4, and
help ease the process of dropping support for older Python versions on will help ease the process of dropping support for older Python versions on
the road to Python 3.0. the road to Python 3.
Can I use Django with Python 2.3? Can I use Django with Python 2.3?
--------------------------------- ---------------------------------
@ -70,8 +68,8 @@ Django 1.1 (and earlier) supported Python 2.3. Django 1.2 and newer does not.
We highly recommend you upgrade Python if at all possible, but Django 1.1 will We highly recommend you upgrade Python if at all possible, but Django 1.1 will
continue to work on Python 2.3. continue to work on Python 2.3.
Can I use Django with Python 3.0? Can I use Django with Python 3?
--------------------------------- -------------------------------
Not at the moment. Python 3.0 introduced a number of Not at the moment. Python 3.0 introduced a number of
backwards-incompatible changes to the Python language, and although backwards-incompatible changes to the Python language, and although