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/