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

Commit

Permalink
OPT: Clarify that secret keys are actually not used in any environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel Holtkamp committed Feb 10, 2020
1 parent 0cd69cf commit dd07a01
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 dd07a01

Please sign in to comment.