Browse Source

Sintaxis correcta de allowed_hosts

Celestino Rey 1 year ago
parent
commit
9ad916a943
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gestion_reservas/gestion_reservas/settings.py

+ 1 - 1
gestion_reservas/gestion_reservas/settings.py

@@ -26,7 +26,7 @@ SECRET_KEY = 'hey'
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = os.environ["DEBUG"] == 'True'
 
-ALLOWED_HOSTS = ".ocp-cluster.reymota.lab"
+ALLOWED_HOSTS = [".ocp-cluster.reymota.lab"]
 
 
 # Application definition