Repository navigation
Replies: 1 comment
|
Almost: the tracked From development.md:
How it fits together:
If you want a git-ignored file for your own local secrets (say a personal API key while developing), the template doesn't read model_config = SettingsConfigDict(
env_file=("../.env", "../.env.local"), # later files override earlier ones
env_ignore_empty=True,
extra="ignore",
)Then add |
Uh oh!
There was an error while loading. Please reload this page.
First Check
Example Code
NoneDescription
I have understood that this template uses .env in different way compared to what is kind of the standard way. Is my understanding correct that we are meant to handle the .env file just for local pushing to the repo? And then also have another .env file (e.g. .env.local) where we would store sensitive info such as api keys or passwords?
Operating System
Linux, Windows
Operating System Details
No response
Project Version
Newest
Python Version
No response
Additional Context
No response
All reactions