Updated tutorial 1 to reflect changes in default project template.

Thanks JonLoy for the patch.
This commit is contained in:
Tim Graham 2013-02-10 18:07:50 -05:00
parent 8fbc20b24b
commit 5ce6a7cea2
1 changed files with 4 additions and 11 deletions

View File

@ -203,18 +203,11 @@ settings:
* :setting:`NAME` -- The name of your database. If you're using SQLite, the
database will be a file on your computer; in that case, :setting:`NAME`
should be the full absolute path, including filename, of that file. When
specifying the path, always use forward slashes, even on Windows (e.g.
``C:/homes/user/mysite/sqlite3.db``).
* :setting:`USER` -- Your database username (not used for SQLite).
* :setting:`PASSWORD` -- Your database password (not used for SQLite).
* :setting:`HOST` -- The host your database is on (not used for SQLite).
Leave this as an empty string (or possibly ``127.0.0.1``) if your
database server is on the same physical machine .
should be the full absolute path, including filename, of that file. The
default value, ``os.path.join(BASE_DIR, 'db.sqlite3')``, will store the file
in your project directory.
If you are not using SQLite as your database, additional settings such as :setting:`USER`, :setting:`PASSWORD`, :setting:`HOST` must be added.
For more details, see the reference documentation for :setting:`DATABASES`.
.. note::