diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-13 12:16:11 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-13 12:16:11 +0000 |
| commit | b4cc77c73d56d5e16ddd1bb3dac69b129fc85eb3 (patch) | |
| tree | e0f90afe500a2c627c80a20a4bb5d70bdb6ef663 /docs | |
| parent | bba79ce4b41aed9cf024a1b41a359ccf38731b01 (diff) | |
Fixed #7605 -- Added a note about SQLite database creation to Tutorial 1. Thanks to pfctdayelise for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial01.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt index 04863cc7fd..9e765b1a9b 100644 --- a/docs/tutorial01.txt +++ b/docs/tutorial01.txt @@ -146,7 +146,7 @@ database's connection parameters: * ``DATABASE_ENGINE`` -- Either 'postgresql_psycopg2', 'mysql' or 'sqlite3'. Other backends are `also available`_. * ``DATABASE_NAME`` -- The name of your database, or the full (absolute) - path to the database file if you're using SQLite. + path to the database file if you're using SQLite. * ``DATABASE_USER`` -- Your database username (not used for SQLite). * ``DATABASE_PASSWORD`` -- Your database password (not used for SQLite). * ``DATABASE_HOST`` -- The host your database is on. Leave this as an @@ -161,6 +161,9 @@ database's connection parameters: this point. Do that with "``CREATE DATABASE database_name;``" within your database's interactive prompt. + If you're using SQLite, you don't need to create anything beforehand - the + database file will be created automatically when it is needed. + While you're editing ``settings.py``, take note of the ``INSTALLED_APPS`` setting towards the bottom of the file. That variable holds the names of all Django applications that are activated in this Django instance. Apps can be |
