summaryrefslogtreecommitdiff
path: root/docs/tutorial01.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-17 15:23:34 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-17 15:23:34 +0000
commit7e951c92f327db7193e58881ad08dbd3b07ba55f (patch)
tree3c94ded4d0dd54d14056690a04718e1e1c8e8a80 /docs/tutorial01.txt
parent136d78b86ed421126eb604e39527a5b90ec94974 (diff)
Changed tutorial01 to clarify how to set an environment variable in Windows. Thanks, JZ!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial01.txt')
-rw-r--r--docs/tutorial01.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt
index b4b11049c6..27ef474ef8 100644
--- a/docs/tutorial01.txt
+++ b/docs/tutorial01.txt
@@ -62,9 +62,13 @@ interactive prompt.)
Once you've done that, you need to tell Django which settings module you're
currently using. Do that by setting an environment variable,
-``DJANGO_SETTINGS_MODULE``::
+``DJANGO_SETTINGS_MODULE``. Here's how you do that in the Bash shell on Unix::
- export DJANGO_SETTINGS_MODULE='myproject.settings.main'
+ export DJANGO_SETTINGS_MODULE=myproject.settings.main
+
+On Windows, you'd use ``set`` instead::
+
+ set DJANGO_SETTINGS_MODULE=myproject.settings.main
Note this path is in Python package syntax. Your project has to be somewhere on
your `Python path`_ -- so that the Python statement ``import myproject.settings.main``