summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulien Phalip <jphalip@gmail.com>2011-08-23 05:59:54 +0000
committerJulien Phalip <jphalip@gmail.com>2011-08-23 05:59:54 +0000
commite71d0133bdd86b4d2941b4c6501fc37e1aecdee5 (patch)
treefd6b9c8a9bed205f67cce0c4b3d8bd4ee1911fe9 /docs
parent6f9d250698b55a021c67bd3c9e22c70fd52846f4 (diff)
[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
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index bf9044e474..23c05ba3a4 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -36,8 +36,13 @@ including database configuration, Django-specific options and
application-specific settings.
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.
+code, then run the following command:
+
+.. 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