Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added ROOT_URLCONF and MIDDLEWARE_CLASSES to project_template.setting…

…s.admin

git-svn-id: http://code.djangoproject.com/svn/django/trunk@91 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 40b8afaf324ee70bc753f74d6b450b3cbb7371ee 1 parent 07c8a96
@adrianholovaty adrianholovaty authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 django/conf/project_template/settings/admin.py
View
5 django/conf/project_template/settings/admin.py
@@ -5,3 +5,8 @@
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',
+)
Please sign in to comment.
Something went wrong with that request. Please try again.