diff --git a/tutorcredentials/templates/credentials/build/credentials/assets.py b/tutorcredentials/templates/credentials/build/credentials/assets.py index e69de29..57bd590 100644 --- a/tutorcredentials/templates/credentials/build/credentials/assets.py +++ b/tutorcredentials/templates/credentials/build/credentials/assets.py @@ -0,0 +1,13 @@ +from .base import * + +COMPRESS_ENABLED = True +COMPRESS_OFFLINE = True + +# Get rid of the "local" handler +try: + LOGGING["handlers"].pop("local") + for logger in LOGGING["loggers"].values(): + if "local" in logger["handlers"]: + logger["handlers"].remove("local") +except Exception: + pass