Load .env from the current directory
This commit is contained in:
parent
5ad8f83ae8
commit
e85d151c2d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ https://docs.djangoproject.com/en/2.2/ref/settings/
|
||||||
import os # isort:skip
|
import os # isort:skip
|
||||||
import dotenv
|
import dotenv
|
||||||
|
|
||||||
dotenv.load_dotenv()
|
dotenv.load_dotenv(dotenv.find_dotenv(usecwd=True))
|
||||||
|
|
||||||
gettext = lambda s: s
|
gettext = lambda s: s
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue