Update settings.py
This commit is contained in:
parent
8208a2bf48
commit
410666c36b
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ def _get_or_create_secret_key():
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
new_key = secrets.token_hex(32)
|
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
|
return new_key
|
||||||
|
|
||||||
class StorageFactory:
|
class StorageFactory:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue