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

Commit

Permalink
Merge pull request #79 from kpn/feature/clarify-secret-key
Browse files Browse the repository at this point in the history
OPT: Clarify that secret keys are actually not used in any environment
  • Loading branch information
mjholtkamp authored Feb 10, 2020
2 parents 0cd69cf + dd07a01 commit dbe1901
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

DEBUG = True

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "t)c0g-tbhgoe2ybv4(iyj%!07*si)co@rg21f&ejm3v=)u^_-8"
SECRET_KEY = "ThisIsASecretKeyThatIsOnlyUsedForUnitTestingAndNotForAnyDeployedEnvironments"

DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}}

ROOT_URLCONF = "katka.urls"

FIELD_ENCRYPTION_KEY = "SURdYnt6gHdgq84TgewXS6WayBQYlHt9Lr8Sryv9yOI="
FIELD_ENCRYPTION_KEY = "OnlyUsedForUnitTestingNotForProdEnvironment="


INSTALLED_APPS = [
"django.contrib.auth",
Expand Down

0 comments on commit dbe1901

Please sign in to comment.