Clarified Tutorial 3 to explain settings have changed -- thanks, Robin Munn

git-svn-id: http://code.djangoproject.com/svn/django/trunk@365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-01 19:02:55 +00:00
parent 7c738177dc
commit d62f31228b
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,8 @@ application and will focus on creating the public interface -- "views."
In Django, each view is represented by a simple Python function. In Django, each view is represented by a simple Python function.
Design your URLs Design your URLs
================ ================
@ -120,6 +122,11 @@ Fire up the Django development Web server, as we did in Tutorial 2::
django-admin.py runserver --settings="myproject.settings.main" django-admin.py runserver --settings="myproject.settings.main"
(If you're coming here straight from Tutorial 2, note that we're now running
the server with ``--settings=myproject.settings.main`` instead of
``--settings=myproject.settings.admin``. You'll need to restart the server to
change the ``settings`` parameter.)
Now go to "http://localhost:8000/polls/" on your domain in your Web browser. 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:: You should get a Python traceback with the following error message::