mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00
docker/settings.py: MIDDLEWARE
The docker/settings.py file also needs the change from "Changing MIDDLEWARE_CLASSES to MIDDLEWARE." Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
This commit is contained in:
parent
2da03f4711
commit
3b2b1f4948
|
@ -92,7 +92,7 @@ STATICFILES_FINDERS = (
|
||||||
# Make this unique, and don't share it with anybody.
|
# Make this unique, and don't share it with anybody.
|
||||||
SECRET_KEY = os.getenv('SECRET_KEY', '')
|
SECRET_KEY = os.getenv('SECRET_KEY', '')
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE = (
|
||||||
'corsheaders.middleware.CorsMiddleware',
|
'corsheaders.middleware.CorsMiddleware',
|
||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user