1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

[1.2.X] Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.

Backport of r14621 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Carl Meyer 2010-11-19 14:57:50 +00:00
parent 4f2e9aed33
commit 5ef3269b78

View File

@ -39,11 +39,12 @@ From the command line, ``cd`` into a directory where you'd like to store your
code, then run the command ``django-admin.py startproject mysite``. This will
create a ``mysite`` directory in your current directory.
.. admonition:: Script name differs on Ubuntu
.. admonition:: Script name may differ in distribution packages
If you installed Django using the Ubuntu package manager (e.g. apt-get)
``django-admin.py`` has been renamed to ``django-admin``. You may continue
through this documentation by omitting ``.py`` from each command.
If you installed Django using a Linux distribution's package manager
(e.g. apt-get or yum) ``django-admin.py`` may have been renamed to
``django-admin``. You may continue through this documentation by omitting
``.py`` from each command.
.. admonition:: Mac OS X permissions