~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/intro/install.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _intro-install:
2
 
 
3
1
Quick install guide
4
2
===================
5
3
 
6
4
Before you can use Django, you'll need to get it installed. We have a
7
 
:ref:`complete installation guide <topics-install>` that covers all the
 
5
:doc:`complete installation guide </topics/install>` that covers all the
8
6
possibilities; this guide will guide you to a simple, minimal installation
9
7
that'll work while you walk through the introduction.
10
8
 
12
10
--------------
13
11
 
14
12
Being a Python Web framework, Django requires Python. It works with any Python
15
 
version from 2.4 to 2.6 (due to backwards
 
13
version from 2.4 to 2.7 (due to backwards
16
14
incompatibilities in Python 3.0, Django does not currently work with
17
 
Python 3.0; see :ref:`the Django FAQ <faq-install>` for more
 
15
Python 3.0; see :doc:`the Django FAQ </faq/install>` for more
18
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_.
19
17
 
20
18
.. _sqlite: http://sqlite.org/
25
23
.. admonition:: Django on Jython
26
24
 
27
25
    If you use Jython_ (a Python implementation for the Java platform), you'll
28
 
    need to follow a few additional steps. See :ref:`howto-jython` for details.
 
26
    need to follow a few additional steps. See :doc:`/howto/jython` for details.
29
27
 
30
28
.. _jython: http://www.jython.org/
31
29
 
32
30
You can verify that Python's installed by typing ``python`` from your shell; you should see something like::
33
31
 
34
 
    Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) 
 
32
    Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
35
33
    [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
36
34
    Type "help", "copyright", "credits" or "license" for more information.
37
35
    >>>
38
 
    
 
36
 
39
37
Set up a database
40
38
-----------------
41
39
 
57
55
 
58
56
You've got three easy options to install Django:
59
57
 
60
 
    * Install a version of Django :ref:`provided by your operating system
61
 
      distribution <misc-distributions>`. This is the quickest option for those
 
58
    * Install a version of Django :doc:`provided by your operating system
 
59
      distribution </misc/distributions>`. This is the quickest option for those
62
60
      who have operating systems that distribute Django.
63
61
 
64
62
    * :ref:`Install an official release <installing-official-release>`. This
65
63
      is the best approach for users who want a stable version number and aren't
66
64
      concerned about running a slightly older version of Django.
67
 
      
 
65
 
68
66
    * :ref:`Install the latest development version
69
67
      <installing-development-version>`. This is best for users who want the
70
68
      latest-and-greatest features and aren't afraid of running brand-new code.
71
 
      
 
69
 
72
70
.. warning::
73
71
 
74
72
    If you do either of the first two steps, keep an eye out for parts of the
79
77
That's it!
80
78
----------
81
79
 
82
 
That's it -- you can now :ref:`move onto the tutorial <intro-tutorial01>`.
 
80
That's it -- you can now :doc:`move onto the tutorial </intro/tutorial01>`.
83
81
 
84
82
 
85
83