Skip to content

Commit

Permalink
[1.2.X] Fixed #13279 -- Made the paths in the Unix install docs more …
Browse files Browse the repository at this point in the history
…explicit. Thanks to KathyManwaring for the report and stumbles for the patch.

Backport of [14062] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
Gabriel Hurley committed Oct 9, 2010
1 parent 8fd9f2e commit 19352c9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/topics/install.txt
Expand Up @@ -243,11 +243,12 @@ latest bug fixes and improvements, follow these instructions:

.. code-block:: bash

ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
ln -s WORKING-DIR/django-trunk/django SITE-PACKAGES-DIR/django

(In the above line, change ``SITE-PACKAGES-DIR`` to match the location of
your system's ``site-packages`` directory, as explained in the
"Where are my ``site-packages`` stored?" section above.)
"Where are my ``site-packages`` stored?" section above. Change WORKING-DIR
to match the full path to your new ``djanjo-trunk`` directory.)

Alternatively, you can define your ``PYTHONPATH`` environment variable
so that it includes the ``django-trunk`` directory. This is perhaps the
Expand All @@ -272,7 +273,10 @@ latest bug fixes and improvements, follow these instructions:

.. code-block:: bash

ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin
ln -s WORKING-DIR/django-trunk/django/bin/django-admin.py /usr/local/bin

(In the above line, change WORKING-DIR to match the full path to your new
``djanjo-trunk`` directory.)

This simply lets you type ``django-admin.py`` from within any directory,
rather than having to qualify the command with the full path to the file.
Expand Down

0 comments on commit 19352c9

Please sign in to comment.