Skip to content

Commit 3f02765

Browse files
author
software-dev
committed
cookiecutter
1 parent e859f45 commit 3f02765

File tree

1 file changed

+5
-5
lines changed
  • {{cookiecutter.project_slug}}/backend/app/app/core

1 file changed

+5
-5
lines changed

{{cookiecutter.project_slug}}/backend/app/app/core/config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ class Settings(BaseSettings):
3434
PROJECT_NAME: str
3535
SENTRY_DSN: HttpUrl | None = None
3636

37-
@field_validator("SENTRY_DSN", mode="before")
38-
def sentry_dsn_can_be_blank(cls, v: str) -> str | None:
39-
if isinstance(v, str) and len(v) == 0:
40-
return None
41-
return v
37+
# @field_validator("SENTRY_DSN", mode="before")
38+
# def sentry_dsn_can_be_blank(cls, v: str) -> str | None:
39+
# if isinstance(v, str) and len(v) == 0:
40+
# return None
41+
# # return v
4242

4343
# GENERAL SETTINGS
4444

0 commit comments

Comments
 (0)