Spaces:
Sleeping
Sleeping
Jon Solow
commited on
Commit
·
3166aa0
1
Parent(s):
6e3086d
Try disabling Csrf for huggingface
Browse files
src/grubguesser/settings.py
CHANGED
@@ -49,7 +49,7 @@ MIDDLEWARE = [
|
|
49 |
"django.middleware.security.SecurityMiddleware",
|
50 |
"django.contrib.sessions.middleware.SessionMiddleware",
|
51 |
"django.middleware.common.CommonMiddleware",
|
52 |
-
"django.middleware.csrf.CsrfViewMiddleware",
|
53 |
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
54 |
"django.contrib.messages.middleware.MessageMiddleware",
|
55 |
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
|
|
49 |
"django.middleware.security.SecurityMiddleware",
|
50 |
"django.contrib.sessions.middleware.SessionMiddleware",
|
51 |
"django.middleware.common.CommonMiddleware",
|
52 |
+
# "django.middleware.csrf.CsrfViewMiddleware",
|
53 |
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
54 |
"django.contrib.messages.middleware.MessageMiddleware",
|
55 |
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|