-
-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support line breaks and comments in .env file
The https://github.com/joke2k/django-environ/pull/283/files commit added useful warnings for skipped lines. However, it also started showing warnings for comment lines. Like in `.zshrc`, we add comments using hash (#). We also group common blocks together. Our env file was something like: ```env SECRET_KEY="S0M3#SecreT" DATABASE_URL=mysql://py-user:p@@sword@127.0.0.1:3306/db_name GOOGLE_CLIENT_ID="" GOOGLE_CLIENT_SECRET="" ```
- Loading branch information
1 parent
d3f4b01
commit 96b5804
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters