mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue