mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2025-04-28 20:35:33 +02:00
Compare commits
2 commits
b26c9db0f4
...
813cc31344
Author | SHA1 | Date | |
---|---|---|---|
813cc31344 | |||
![]() |
041f0683a8 |
2 changed files with 4 additions and 3 deletions
|
@ -38,7 +38,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: djhtml
|
- id: djhtml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.9.10
|
rev: v0.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
@ -61,6 +61,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyproject-fmt
|
- id: pyproject-fmt
|
||||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
rev: 0.6.5
|
rev: 0.6.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: uv-lock
|
- id: uv-lock
|
||||||
|
|
|
@ -50,7 +50,8 @@ if DEBUG:
|
||||||
INTERNAL_IPS.append(ip)
|
INTERNAL_IPS.append(ip)
|
||||||
ALLOWED_HOSTS.append(ip)
|
ALLOWED_HOSTS.append(ip)
|
||||||
except Exception as e:
|
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")
|
CSRF_TRUSTED_ORIGINS = env("CSRF_TRUSTED_ORIGINS")
|
||||||
|
|
Loading…
Add table
Reference in a new issue