diff options
| author | Tim Graham <timograham@gmail.com> | 2013-02-10 18:07:50 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-02-10 18:07:50 -0500 |
| commit | 5ce6a7cea25ac8e616fa6bd132ee341a240aad6f (patch) | |
| tree | d165d8521e6017d0874098a44c02f3375ddc7f33 | |
| parent | 8fbc20b24bd14e22f3d9c0dd02781ddf1f2b5bd7 (diff) | |
Updated tutorial 1 to reflect changes in default project template.
Thanks JonLoy for the patch.
| -rw-r--r-- | docs/intro/tutorial01.txt | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 9b0c820380..7d1776296a 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -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:: |
