summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-16 00:41:42 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-16 00:41:42 +0000
commit071037ff80119656f46400cb0c2a1453e80c37f1 (patch)
tree73494e050b3a44633da5fd2c536e4ff2b803cba4
parentd22e88898fdd4d60d481e17f726d5b134ddc1daf (diff)
Changed 'django-admin startproject' to included MIDDLEWARE_CLASSES in settings/main.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/conf/project_template/settings/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/conf/project_template/settings/main.py b/django/conf/project_template/settings/main.py
index b78c846c23..56b1f023ce 100644
--- a/django/conf/project_template/settings/main.py
+++ b/django/conf/project_template/settings/main.py
@@ -29,6 +29,11 @@ MEDIA_URL = ''
# Make this unique, and don't share it with anybody.
SECRET_KEY = ''
+MIDDLEWARE_CLASSES = (
+ "django.middleware.common.CommonMiddleware",
+ "django.middleware.doc.XViewMiddleware",
+)
+
ROOT_URLCONF = '{{ project_name }}.settings.urls.main'
TEMPLATE_DIRS = (