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

Secret key must be unique and secret for every installation. #61

Merged
merged 3 commits into from
Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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 .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Run autotests
env:
PARROT_DB_HOST: postgres
PARROT_SECRET_KEY: secret
run: |
poetry run pytest --cov=./ --cov-report=xml

Expand Down
2 changes: 1 addition & 1 deletion parrot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

BASE_DIR = Path(__file__).parent.parent

SECRET_KEY = '^c!x7!qejlut8=d3=mls9c%u-+(8t#&cfap5#=w%10t@&*b4=6'
SECRET_KEY = env('PARROT_SECRET_KEY')

DEBUG = env.bool('DEBUG', False)

Expand Down