diff --git a/django/conf/project_template/settings/admin.py b/django/conf/project_template/settings/admin.py index 9473052cad..603886a5f2 100644 --- a/django/conf/project_template/settings/admin.py +++ b/django/conf/project_template/settings/admin.py @@ -7,6 +7,7 @@ TEMPLATE_DIRS = ( ) ROOT_URLCONF = '{{ project_name }}.settings.urls.admin' MIDDLEWARE_CLASSES = ( + 'django.middleware.sessions.SessionMiddleware', 'django.middleware.admin.AdminUserRequired', 'django.middleware.common.CommonMiddleware', )