We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42c6f78 commit f7686f3Copy full SHA for f7686f3
template/src/{{ module_name }}/settings.py.jinja
@@ -20,7 +20,14 @@ class GlobalSettings(BaseSettings):
20
class Settings(BaseSettings):
21
"""Project specific settings."""
22
23
+ [%- if not version_higher_than(min_py, "3.10") %]
24
+
25
logging_level: Optional[str] = getLevelName(logging.INFO)
26
27
+ [%- else %]
28
29
+ logging_level: str | None = getLevelName(logging.INFO)
30
+ [%- endif %]
31
"""Default logging level for the project."""
32
33
model_config = SettingsConfigDict(
0 commit comments