Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gabriel Hurley 2010-10-09 07:27:19 +00:00
parent 80aa4432e6
commit 8e78a309c6
1 changed files with 7 additions and 3 deletions

View File

@ -254,11 +254,12 @@ latest bug fixes and improvements, follow these instructions:
.. code-block:: bash .. 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 (In the above line, change ``SITE-PACKAGES-DIR`` to match the location of
your system's ``site-packages`` directory, as explained in the 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 Alternatively, you can define your ``PYTHONPATH`` environment variable
so that it includes the ``django-trunk`` directory. This is perhaps the so that it includes the ``django-trunk`` directory. This is perhaps the
@ -283,7 +284,10 @@ latest bug fixes and improvements, follow these instructions:
.. code-block:: bash .. 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, 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. rather than having to qualify the command with the full path to the file.