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

Commit

Permalink
Secret key must be unique and secret for every installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
emorozov committed Nov 9, 2020
1 parent 1f47caf commit 31faed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
env:
POSTGRES_USER: parrot
POSTGRES_PASSWORD: parrot
SECRET_KEY: secret
options: >-
--health-cmd pg_isready
--health-interval 10s
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('SECRET_KEY')

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

Expand Down

0 comments on commit 31faed8

Please sign in to comment.