Permalink
Browse files

Update settings.py location and do not reference DATABASE_NAME, which…

… is not in settings.py anymore.
  • Loading branch information...
1 parent 3dfa18e commit 679db0013cc7907d5f1287af417cbda67dc90a76 @mpdaugherty mpdaugherty committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 chapter03.rst
View
@@ -360,9 +360,9 @@ does Django do behind the scenes?
It all starts with the *settings file*. When you run
``python manage.py runserver``, the script looks for a file called
-``settings.py`` in the same directory as ``manage.py``. This file contains all
+``settings.py`` in the inner ``mysite`` directory. This file contains all
sorts of configuration for this particular Django project, all in uppercase:
-``TEMPLATE_DIRS``, ``DATABASE_NAME``, etc. The most important setting is called
+``TEMPLATE_DIRS``, ``DATABASES``, etc. The most important setting is called
``ROOT_URLCONF``. ``ROOT_URLCONF`` tells Django which Python module should be
used as the URLconf for this Web site.

0 comments on commit 679db00

Please sign in to comment.