1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

[1.5.x] Fixed #20247 - Added some missing paths in the tutorial.

Thanks gsavix for the suggestion and patch.

Backport of aad5661c6c from master.
This commit is contained in:
Tim Graham
2013-04-12 19:22:02 -04:00
parent 991ce52bc8
commit 6e3b80239e
2 changed files with 14 additions and 13 deletions

View File

@@ -264,11 +264,12 @@ that, run the following command:
python manage.py syncdb
The :djadmin:`syncdb` command looks at the :setting:`INSTALLED_APPS` setting and
creates any necessary database tables according to the database settings in your
:file:`settings.py` file. You'll see a message for each database table it
creates, and you'll get a prompt asking you if you'd like to create a superuser
account for the authentication system. Go ahead and do that.
The :djadmin:`syncdb` command looks at the :setting:`INSTALLED_APPS` setting
and creates any necessary database tables according to the database settings
in your :file:`mysite/settings.py` file. You'll see a message for each
database table it creates, and you'll get a prompt asking you if you'd like to
create a superuser account for the authentication system. Go ahead and do
that.
If you're interested, run the command-line client for your database and type
``\dt`` (PostgreSQL), ``SHOW TABLES;`` (MySQL), or ``.schema`` (SQLite) to
@@ -532,7 +533,7 @@ API Django gives you. To invoke the Python shell, use this command:
We're using this instead of simply typing "python", because :file:`manage.py`
sets the ``DJANGO_SETTINGS_MODULE`` environment variable, which gives Django
the Python import path to your :file:`settings.py` file.
the Python import path to your :file:`mysite/settings.py` file.
.. admonition:: Bypassing manage.py