Skip to content

Commit

Permalink
Revert change to .env file location
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Nov 23, 2023
1 parent b31f762 commit c912bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# Look for the environment variables file in the root directory
# Absolute rather than relative path here, to play nice with Google App Engine
env_file = os.path.join(BASE_DIR, '.env')
env_file = os.path.join(BASE_DIR, 'tmp/.env')

# In production we can get .envfrom Google Cloud if we don't have it. This requires authentication.
if os.environ['DJANGO_SETTINGS_MODULE'] == 'config.settings.production' and not os.path.isfile(env_file):
Expand Down

0 comments on commit c912bc1

Please sign in to comment.