mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2025-03-29 13:01:39 +01:00
fix ruff
This commit is contained in:
parent
041f0683a8
commit
813cc31344
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue