Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clarified Tutorial 3 to explain settings have changed -- thanks, Robi…

…n Munn

git-svn-id: http://code.djangoproject.com/svn/django/trunk@365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d62f31228b3f9bffde707124d28d755239b78fd0 1 parent 7c73817
@adrianholovaty adrianholovaty authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/tutorial03.txt
View
7 docs/tutorial03.txt
@@ -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::
Please sign in to comment.
Something went wrong with that request. Please try again.