mirror of
https://github.com/django/django.git
synced 2025-01-03 06:55:47 +00:00
Changed tutorial01 so that it explicitly says: Make sure you've already created the database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
edba7a435f
commit
b4168db4af
@ -54,6 +54,10 @@ these settings to match your database's connection parameters:
|
|||||||
empty string if your database server is on the same physical machine
|
empty string if your database server is on the same physical machine
|
||||||
(localhost).
|
(localhost).
|
||||||
|
|
||||||
|
(Make sure you've created a database within PostgreSQL or MySQL by this point.
|
||||||
|
Do that with "``CREATE DATABASE database_name;``" within your database's
|
||||||
|
interactive prompt.)
|
||||||
|
|
||||||
Once you've done that, you need to tell Django which settings module you're
|
Once you've done that, you need to tell Django which settings module you're
|
||||||
currently using. Do that by setting an environment variable,
|
currently using. Do that by setting an environment variable,
|
||||||
``DJANGO_SETTINGS_MODULE``::
|
``DJANGO_SETTINGS_MODULE``::
|
||||||
|
Loading…
Reference in New Issue
Block a user