Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Adds reading environment from the .env file (handy for local developm… #60

Merged
merged 2 commits into from
Nov 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions parrot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
env = environ.Env()

BASE_DIR = Path(__file__).parent.parent
environ.Env.read_env(str(BASE_DIR / '.env'))

SECRET_KEY = env('PARROT_SECRET_KEY')

Expand Down