From b67dbc391ff330bb79df1b72ac6fe43b719201f6 Mon Sep 17 00:00:00 2001 From: Fred Pauchet Date: Wed, 27 Oct 2021 20:53:10 +0200 Subject: [PATCH] Read env --- gwift/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwift/settings.py b/gwift/settings.py index ad220a7..f83d33e 100644 --- a/gwift/settings.py +++ b/gwift/settings.py @@ -23,7 +23,7 @@ env = environ.Env( # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent -environ.Env.read_env(os.path.join(BASE_DIR, '.env')) +environ.Env.read_env() # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/