From 40b8afaf324ee70bc753f74d6b450b3cbb7371ee Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 16 Jul 2005 03:12:07 +0000 Subject: [PATCH] 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 --- django/conf/project_template/settings/admin.py | 5 +++++ 1 file changed, 5 insertions(+) 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', +)