Browse Source

Quito redunancia en asignacion de CSRF

main
Celestino Rey 10 months ago
parent
commit
40323b895c
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      gestion_reservas/gestion_reservas/settings.py

+ 0
- 3
gestion_reservas/gestion_reservas/settings.py View File

@ -149,9 +149,6 @@ AUTH_USER_MODEL = "reymotausers.ReyMotaUser"
MEDIA_ROOT = BASE_DIR / "mediafiles" MEDIA_ROOT = BASE_DIR / "mediafiles"
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
if DEBUG is False:
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ") CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
# Configuración de correo con Gmail # Configuración de correo con Gmail


Loading…
Cancel
Save