2005-07-15 23:21:18 +02:00
|
|
|
=====================
|
|
|
|
How to install Django
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Installation instructions are slightly different depending on whether you're
|
|
|
|
using the latest official version or the latest development version.
|
|
|
|
|
|
|
|
It's easy either way.
|
|
|
|
|
|
|
|
Installing the official version
|
|
|
|
===============================
|
|
|
|
|
2005-07-15 23:26:43 +02:00
|
|
|
1. Download the tarball of the latest official version from our `download page`_.
|
2005-07-15 23:21:18 +02:00
|
|
|
2. ``cd django-1.0.0.tar.gz``
|
|
|
|
3. ``python setup.py install``
|
|
|
|
|
|
|
|
Installing the development version
|
|
|
|
==================================
|
|
|
|
|
2005-07-15 23:26:43 +02:00
|
|
|
1. Make sure you have Subversion_ installed.
|
2005-07-15 23:21:18 +02:00
|
|
|
2. ``svn co http://code.djangoproject.com/svn/django/trunk/ django_src``
|
|
|
|
3. Symlink ``django_src/django`` so that ``django`` is within your Python
|
|
|
|
``site-packages`` directory:
|
|
|
|
``ln -s django_src/django /usr/lib/python2.3/site-packages/django``
|
|
|
|
Change ``python2.3`` to match your current Python version.
|
|
|
|
|
|
|
|
When you want to update your code, just run the command ``svn update`` from
|
|
|
|
within the ``django_src`` directory.
|
|
|
|
|
2005-07-15 23:26:43 +02:00
|
|
|
.. _`download page`: http://www.djangorproject.com/download/
|
|
|
|
.. _Subversion: http://subversion.tigris.org/
|