mirror of https://github.com/django/django.git
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:
parent
7c738177dc
commit
d62f31228b
|
@ -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.
|
||||
|
||||
|
||||
|
||||
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"
|
||||
|
||||
(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.
|
||||
You should get a Python traceback with the following error message::
|
||||
|
||||
|
|
Loading…
Reference in New Issue