Kaydet (Commit) 5ce6a7ce authored tarafından Tim Graham's avatar Tim Graham

Updated tutorial 1 to reflect changes in default project template.

Thanks JonLoy for the patch.
üst 8fbc20b2
...@@ -203,18 +203,11 @@ settings: ...@@ -203,18 +203,11 @@ settings:
* :setting:`NAME` -- The name of your database. If you're using SQLite, the * :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` 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 should be the full absolute path, including filename, of that file. The
specifying the path, always use forward slashes, even on Windows (e.g. default value, ``os.path.join(BASE_DIR, 'db.sqlite3')``, will store the file
``C:/homes/user/mysite/sqlite3.db``). in your project directory.
* :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 .
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`. For more details, see the reference documentation for :setting:`DATABASES`.
.. note:: .. note::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment