summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-16 03:12:07 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-16 03:12:07 +0000
commit40b8afaf324ee70bc753f74d6b450b3cbb7371ee (patch)
tree814d589cef87f2bfb7723fd67f4ec94e56c119ed
parent07c8a965b675ae7b3047c60f2f156a8840de6c8b (diff)
Added ROOT_URLCONF and MIDDLEWARE_CLASSES to project_template.settings.admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@91 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/conf/project_template/settings/admin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/conf/project_template/settings/admin.py b/django/conf/project_template/settings/admin.py
index 82a5693f1a..0cd2cb6c55 100644
--- a/django/conf/project_template/settings/admin.py
+++ b/django/conf/project_template/settings/admin.py
@@ -5,3 +5,8 @@ from main import *
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates".
)
+ROOT_URLCONF = 'django.conf.urls.admin'
+MIDDLEWARE_CLASSES = (
+ 'django.middleware.admin.AdminUserRequired',
+ 'django.middleware.common.CommonMiddleware',
+)