-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c6b6f0
commit 4070660
Showing
5 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"""Django settings for rse_competencies_toolkit project.""" | ||
|
||
from .settings import * # noqa: F403 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Settings for app deployment in production. | ||
This module contains those settings that are not expected to vary between | ||
deployments. This module is not intended to be used directly but imported into another | ||
module where deployment specific settings are set. | ||
ADMINS and ALLOWED_HOSTS need to be defined in the deployment specific settings module. | ||
""" | ||
|
||
import os | ||
|
||
from .settings import * # noqa: F403 | ||
|
||
DEBUG = False | ||
SECRET_KEY = os.environ["SECRET_KEY"] | ||
SECURE_BROWSER_XSS_FILTER = True | ||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") | ||
SECURE_HSTS_SECONDS = 15552000 | ||
USE_X_FORWARDED_HOST = True | ||
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters