Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #7605 -- Added a note about SQLite database creation to Tutoria…

…l 1. Thanks to pfctdayelise for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b4cc77c73d56d5e16ddd1bb3dac69b129fc85eb3 1 parent bba79ce
Russell Keith-Magee authored July 13, 2008

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  docs/tutorial01.txt
5  docs/tutorial01.txt
@@ -146,7 +146,7 @@ database's connection parameters:
146 146
     * ``DATABASE_ENGINE`` -- Either 'postgresql_psycopg2', 'mysql' or 'sqlite3'.
147 147
       Other backends are `also available`_.
148 148
     * ``DATABASE_NAME`` -- The name of your database, or the full (absolute)
149  
-      path to the database file if you're using SQLite.
  149
+      path to the database file if you're using SQLite. 
150 150
     * ``DATABASE_USER`` -- Your database username (not used for SQLite).
151 151
     * ``DATABASE_PASSWORD`` -- Your database password (not used for SQLite).
152 152
     * ``DATABASE_HOST`` -- The host your database is on. Leave this as an
@@ -161,6 +161,9 @@ database's connection parameters:
161 161
     this point. Do that with "``CREATE DATABASE database_name;``" within your
162 162
     database's interactive prompt.
163 163
 
  164
+    If you're using SQLite, you don't need to create anything beforehand - the
  165
+    database file will be created automatically when it is needed.
  166
+
164 167
 While you're editing ``settings.py``, take note of the ``INSTALLED_APPS``
165 168
 setting towards the bottom of the file. That variable holds the names of all
166 169
 Django applications that are activated in this Django instance. Apps can be

0 notes on commit b4cc77c

Please sign in to comment.
Something went wrong with that request. Please try again.