-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
)
In which file did you encounter the issue?
python-docs-samples/container_engine/django_tutorial/mysite/settings.py
Did you change the file? If so, how?
Describe the issue
The admin page fails to run in Django 2.0.3, which is the version used in the Running Django on Kubernetes Engine Tutorial per https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/container_engine/django_tutorial/requirements.txt