summaryrefslogtreecommitdiff
path: root/docs/tutorial03.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial03.txt')
-rw-r--r--docs/tutorial03.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt
index ea1851c407..87a5f38f21 100644
--- a/docs/tutorial03.txt
+++ b/docs/tutorial03.txt
@@ -113,11 +113,9 @@ Write your first view
Well, we haven't created any views yet -- we just have the URLconf. But let's
make sure Django is following the URLconf properly.
-Set your ``DJANGO_SETTINGS_MODULE`` environment variable to your main settings
-(``myproject.settings.main``), as we did with the admin settings in Tutorial 2.
-Then, fire up the Django development Web server, as we also did in Tutorial 2::
+Fire up the Django development Web server, as we did in Tutorial 2::
- django-admin.py runserver
+ django-admin.py runserver --settings="myproject.settings.admin"
Now go to "http://localhost:8000/polls/" on your domain in your Web browser.
You should get a Python traceback with the following error message::