1. Luke Plant
  2. django

Commits

gabr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed fd844c7

[1.3.X] Fixed #16782 -- Corrected a broken cross-reference to the database engine setting in the tutorial. Thanks to mjumbewu for the report and patch.

Backport of r16754 from trunk.

  • Participants
  • Parent commits 9fa8e2c
  • Branches releases/1.3.X

Comments (0)

Files changed (1)

File docs/intro/tutorial01.txt

View file
  • Ignore whitespace
 .. 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
 following keys in the :setting:`DATABASES` ``'default'`` item to match
 your databases connection settings.
 
-    * :setting:`ENGINE` -- Either
+    * :setting:`ENGINE <DATABASE-ENGINE>` -- Either
       ``'django.db.backends.postgresql_psycopg2'``,
       ``'django.db.backends.mysql'`` or
       ``'django.db.backends.sqlite3'``. Other backends are
-      :setting:`also available <ENGINE>`.
+      :setting:`also available <DATABASE-ENGINE>`.
 
     * :setting:`NAME` -- The name of your database. If you're using
       SQLite, the database will be a file on your computer; in that
 
 For more information on model relations, see :doc:`Accessing related objects
 </ref/models/relations>`. For more on how to use double underscores to perform
-field lookups via the API, see `Field lookups`__. For full details on the 
+field lookups via the API, see `Field lookups`__. For full details on the
 database API, see our :doc:`Database API reference </topics/db/queries>`.
 
 __ http://docs.djangoproject.com/en/1.2/topics/db/queries/#field-lookups