mirror of https://github.com/django/django.git
Fixed #16782 -- Corrected a broken cross-reference to the database engine setting in the tutorial. Thanks to mjumbewu for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
228654d17f
commit
7bca049f1c
|
@ -41,7 +41,7 @@ code, then run the following command:
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
django-admin.py startproject mysite
|
django-admin.py startproject mysite
|
||||||
|
|
||||||
This will create a ``mysite`` directory in your current directory.
|
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
|
||||||
|
@ -173,11 +173,11 @@ module-level variables representing Django settings. Change the
|
||||||
following keys in the :setting:`DATABASES` ``'default'`` item to match
|
following keys in the :setting:`DATABASES` ``'default'`` item to match
|
||||||
your databases connection settings.
|
your databases connection settings.
|
||||||
|
|
||||||
* :setting:`ENGINE` -- Either
|
* :setting:`ENGINE <DATABASE-ENGINE>` -- Either
|
||||||
``'django.db.backends.postgresql_psycopg2'``,
|
``'django.db.backends.postgresql_psycopg2'``,
|
||||||
``'django.db.backends.mysql'`` or
|
``'django.db.backends.mysql'`` or
|
||||||
``'django.db.backends.sqlite3'``. Other backends are
|
``'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
|
* :setting:`NAME` -- The name of your database. If you're using
|
||||||
SQLite, the database will be a file on your computer; in that
|
SQLite, the database will be a file on your computer; in that
|
||||||
|
@ -692,7 +692,7 @@ Save these changes and start a new Python interactive shell by running
|
||||||
|
|
||||||
For more information on model relations, see :doc:`Accessing related objects
|
For more information on model relations, see :doc:`Accessing related objects
|
||||||
</ref/models/relations>`. For more on how to use double underscores to perform
|
</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>`.
|
database API, see our :doc:`Database API reference </topics/db/queries>`.
|
||||||
|
|
||||||
__ http://docs.djangoproject.com/en/1.2/topics/db/queries/#field-lookups
|
__ http://docs.djangoproject.com/en/1.2/topics/db/queries/#field-lookups
|
||||||
|
|
Loading…
Reference in New Issue