mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc for
django-admin.py so that subversion updates keep it up to date. Patch from arien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f2f6e70b08
commit
5cd153b7c8
@ -204,11 +204,18 @@ latest bug fixes and improvements, follow these instructions:
|
|||||||
|
|
||||||
.. _How to use Django with mod_python: ../modpython/
|
.. _How to use Django with mod_python: ../modpython/
|
||||||
|
|
||||||
4. Copy the file ``django-trunk/django/bin/django-admin.py`` to somewhere on
|
4. On Unix-like systems, create a symbolic link to the file
|
||||||
your system path, such as ``/usr/local/bin`` (Unix) or ``C:\Python24\Scripts``
|
``django-trunk/django/bin/django-admin.py`` in a directory on your system
|
||||||
(Windows). This step simply lets you type ``django-admin.py`` from within
|
path, such as ``/usr/local/bin``. For example::
|
||||||
any directory, rather than having to qualify the command with the full path
|
|
||||||
to the file.
|
ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
On Windows systems, the same result can be achieved by copying the file
|
||||||
|
``django-trunk/django/bin/django-admin.py`` to somewhere on your system
|
||||||
|
path, for example ``C:\Python24\Scripts``.
|
||||||
|
|
||||||
You *don't* have to run ``python setup.py install``, because you've already
|
You *don't* have to run ``python setup.py install``, because you've already
|
||||||
carried out the equivalent actions in steps 3 and 4.
|
carried out the equivalent actions in steps 3 and 4.
|
||||||
|
Loading…
Reference in New Issue
Block a user