Skip to content

Commit 65929cd

Browse files
authored
Improve env_prefix config doc (#523)
1 parent e2cbb2d commit 65929cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ class Settings(BaseSettings):
156156
```
157157

158158
!!! note
159-
The default `env_prefix` is `''` (empty string).
159+
The default `env_prefix` is `''` (empty string). `env_prefix` is not only for env settings but also for
160+
dotenv files, secrets, and other sources.
160161

161162
If you want to change the environment variable name for a single field, you can use an alias.
162163

0 commit comments

Comments
 (0)