mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
07c8a965b6
commit
40b8afaf32
|
@ -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',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue