[1.3.X] Fixed #16669 -- Made the startproject instruction formatting easier to read and more consistent with other formatting in the tutorial part 1. Thanks to Daniel Lawrence and Aymeric Augustin.

Backport of r16664 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Julien Phalip 2011-08-23 05:59:54 +00:00
parent 6f9d250698
commit e71d0133bd
1 changed files with 7 additions and 2 deletions

View File

@ -36,8 +36,13 @@ including database configuration, Django-specific options and
application-specific settings. application-specific settings.
From the command line, ``cd`` into a directory where you'd like to store your 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 code, then run the following command:
create a ``mysite`` directory in your current directory.
.. code-block:: bash
django-admin.py startproject mysite
This will create a ``mysite`` directory in your current directory.
.. admonition:: Script name may differ in distribution packages .. admonition:: Script name may differ in distribution packages