diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py index 6c811f0a81..800d1023d9 100644 --- a/django/conf/project_template/settings.py +++ b/django/conf/project_template/settings.py @@ -53,7 +53,7 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( "django.middleware.common.CommonMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", - "django.contrib.auth.middleware.RequestUserMiddleware", + "django.contrib.auth.middleware.AuthenticationMiddleware", "django.middleware.doc.XViewMiddleware", )