Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated tutorial 1 to reflect changes in default project template.

Thanks JonLoy for the patch.
  • Loading branch information...
commit 5ce6a7cea25ac8e616fa6bd132ee341a240aad6f 1 parent 8fbc20b
Tim Graham timgraham authored
Showing with 4 additions and 11 deletions.
  1. +4 −11 docs/intro/tutorial01.txt
15 docs/intro/tutorial01.txt
View
@@ -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::
Please sign in to comment.
Something went wrong with that request. Please try again.