Author: russellm
Date: 2008-07-13 07:16:11 -0500 (Sun, 13 Jul 2008)
New Revision: 7917
Modified:
django/trunk/docs/tutorial01.txt
Log:
Fixed #7605 -- Added a note about SQLite database creation to Tutorial 1.
Thanks to pfctdayelise for the suggestion.
Modified: django/trunk/docs/tutorial01.txt
===================================================================
--- django/trunk/docs/tutorial01.txt 2008-07-13 11:47:09 UTC (rev 7916)
+++ django/trunk/docs/tutorial01.txt 2008-07-13 12:16:11 UTC (rev 7917)
@@ -146,7 +146,7 @@
* ``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 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---