Ticket #6739: tweak-install.diff

File tweak-install.diff, 2.4 KB (added by adamv, 5 years ago)

Attempt at tweaking the install doc a bit.

  • docs/intro/install.txt

    diff --git a/docs/intro/install.txt b/docs/intro/install.txt
    index edac4cf..7764739 100644
    a b Being a Python Web framework, Django requires Python. It works with any Python 
    1313version from 2.4 to 2.7 (due to backwards
    1414incompatibilities in Python 3.0, Django does not currently work with
    1515Python 3.0; see :doc:`the Django FAQ </faq/install>` for more
    16 information on supported Python versions and the 3.0 transition), but we recommend installing Python 2.5 or later. If you do so, you won't need to set up a database just yet: Python 2.5 or later includes a lightweight database called SQLite_.
     16information on supported Python versions and the 3.0 transition), but we
     17recommend installing Python 2.5 or later. If you do so, you won't need to set
     18up a database just yet: Python 2.5 or later includes a lightweight database
     19called SQLite_.
    1720
    1821.. _sqlite: http://sqlite.org/
    1922
    probably already have it installed. 
    2730
    2831.. _jython: http://www.jython.org/
    2932
    30 You can verify that Python's installed by typing ``python`` from your shell; you should see something like::
     33You can verify that Python is installed by typing ``python`` from your shell;
     34you should see something like::
    3135
    3236    Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
    3337    [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
    You've got three easy options to install Django: 
    7478    documentation marked **new in development version**. That phrase flags
    7579    features that are only available in development versions of Django, and
    7680    they likely won't work with an official release.
    77    
     81
     82Because Django is "just a Python module", it can be installed just like any
     83other Python module, by being placed on Python's path. See
     84`Modifying Python's Search Path`_ for more information.
     85
     86.. _Modifying Python's Search Path: http://docs.python.org/install/index.html#modifying-python-s-search-path
     87
     88Verifying
     89---------
     90
     91To verify that Django can be seen by Python, type ``python`` from your shell::
     92
     93    Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
     94    [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
     95    Type "help", "copyright", "credits" or "license" for more information.
     96    >>>
     97
     98At the Python prompt, try to import Django::
     99
     100    >>>import django
     101    >>>print(django.VERSION)
     102    ...(1, 3, 0, 'alpha', 1)
     103
     104
    78105That's it!
    79106----------
    80107
Back to Top