Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #340 -- Default admin settings (in django-admin startproject) n…

…ow include cache middleware. Thanks, Bless

git-svn-id: http://code.djangoproject.com/svn/django/trunk@525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5f37a627daf6e6d88fde2219034a5c0188aaff8a 1 parent 99d8bb3
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/conf/project_template/settings/admin.py
1  django/conf/project_template/settings/admin.py
View
@@ -7,6 +7,7 @@
)
ROOT_URLCONF = '{{ project_name }}.settings.urls.admin'
MIDDLEWARE_CLASSES = (
+ 'django.middleware.sessions.SessionMiddleware',
'django.middleware.admin.AdminUserRequired',
'django.middleware.common.CommonMiddleware',
)
Please sign in to comment.
Something went wrong with that request. Please try again.