This commit is contained in:
Gabriel Augendre 2025-03-19 00:03:26 +01:00 committed by crocmagnon-pr[bot]
parent 041f0683a8
commit 813cc31344

View file

@ -50,7 +50,8 @@ if DEBUG:
INTERNAL_IPS.append(ip)
ALLOWED_HOSTS.append(ip)
except Exception as e:
logging.info("couldn't setup allowed host in debug: %s", e)
logger = logging.getLogger(__name__)
logger.info("couldn't setup allowed host in debug: %s", e)
CSRF_TRUSTED_ORIGINS = env("CSRF_TRUSTED_ORIGINS")