Skip to content

Commit f14b66f

Browse files
committed
Ready to fork code
1 parent 3f40e32 commit f14b66f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

quiz_portal/settings/base.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
# SECURITY WARNING: keep the secret key used in production secret!
1111
# SECRET_KEY = os.environ.get('QUIZ_PORTAL_SECRET_KEY')
12-
SECRET_KEY = os.environ.get("SECRET_KEY")
12+
SECRET_KEY = os.environ.get('SECRET_KEY')
13+
1314
# SECURITY WARNING: don't run with debug turned on in production!
1415
DEBUG = True
1516

@@ -139,4 +140,4 @@
139140
CKEDITOR_ALLOW_NONIMAGE_FILES = False
140141

141142
RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY')
142-
RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY')
143+
RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY')

quiz_portal/settings/production.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .base import *
22

3-
DEBUG = True
3+
DEBUG = False
44

55
DATABASES = {
66
'default': {

0 commit comments

Comments
 (0)