Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update chapter05.rst

new Django syntax in INSTALLED_APPS(settings.py)
  • Loading branch information...
commit 9e97dfb8db0d07a71c03dabb0b1ee2a7bf636978 1 parent 8b4a275
@tariwan tariwan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 chapter05.rst
View
4 chapter05.rst
@@ -551,7 +551,7 @@ Temporarily comment out all four of those strings by putting a hash character
convenience, but we'll activate and discuss them in subsequent chapters.)
While you're at it, comment out the default ``MIDDLEWARE_CLASSES`` setting, too;
the default values in ``MIDDLEWARE_CLASSES`` depend on some of the apps we
-just commented out. Then, add ``'mysite.books'`` to the ``INSTALLED_APPS``
+just commented out. Then, add ``'books'`` to the ``INSTALLED_APPS``
list, so the setting ends up looking like this::
MIDDLEWARE_CLASSES = (
@@ -565,7 +565,7 @@ list, so the setting ends up looking like this::
# 'django.contrib.contenttypes',
# 'django.contrib.sessions',
# 'django.contrib.sites',
- 'mysite.books',
+ 'books',
)
(As we mentioned last chapter when setting ``TEMPLATE_DIRS``, you'll need to be
Please sign in to comment.
Something went wrong with that request. Please try again.