From 19352c9cd9b3ae42ef945fa1de8399e38b2533e0 Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Sat, 9 Oct 2010 07:28:47 +0000 Subject: [PATCH] [1.2.X] Fixed #13279 -- Made the paths in the Unix install docs more 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 --- docs/topics/install.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/topics/install.txt b/docs/topics/install.txt index 3114517f62b28..cd3195c251030 100644 --- a/docs/topics/install.txt +++ b/docs/topics/install.txt @@ -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 @@ -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.