Update settings.py

This commit is contained in:
Kevin Hu 2025-11-24 09:58:22 +08:00 committed by GitHub
parent 8208a2bf48
commit 410666c36b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,7 +139,7 @@ def _get_or_create_secret_key():
import logging
new_key = secrets.token_hex(32)
logging.warning(f"SECURITY WARNING: Using auto-generated SECRET_KEY.")
logging.warning("SECURITY WARNING: Using auto-generated SECRET_KEY.")
return new_key
class StorageFactory: