Spaces:
Sleeping
Sleeping
Se agregan el espacion de huggie face en CSRF de confianza para aceptar los formularios
Browse files- cata_system/settings.py +3 -1
cata_system/settings.py
CHANGED
|
@@ -30,7 +30,9 @@ SECRET_KEY = 'django-insecure-u)t2290d+c@$$7@!%@m&=w44$a@haxew8$!!tggh!up-+0-ll(
|
|
| 30 |
# SECURITY WARNING: don't run with debug turned on in production!
|
| 31 |
DEBUG = True
|
| 32 |
|
| 33 |
-
ALLOWED_HOSTS = ["
|
|
|
|
|
|
|
| 34 |
|
| 35 |
# SESSIONS TIMEOUT
|
| 36 |
SESSION_COOKIE_AGE = 30 * 60
|
|
|
|
| 30 |
# SECURITY WARNING: don't run with debug turned on in production!
|
| 31 |
DEBUG = True
|
| 32 |
|
| 33 |
+
ALLOWED_HOSTS = ["https://chartmand-cata-system.hf.space"]
|
| 34 |
+
|
| 35 |
+
CSRF_TRUSTED_ORIGINS = ["https://chartmand-cata-system.hf.space"]
|
| 36 |
|
| 37 |
# SESSIONS TIMEOUT
|
| 38 |
SESSION_COOKIE_AGE = 30 * 60
|