Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8e67645d
Commit
8e67645d
authored
Dec 12, 2013
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1919 from tusbar/studio-email-config
Add email configuration to cms/envs/aws.py
parents
c1b84728
f576673a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
cms/envs/aws.py
+7
-0
cms/envs/common.py
+5
-0
No files found.
cms/envs/aws.py
View file @
8e67645d
...
...
@@ -108,6 +108,13 @@ if STATIC_ROOT_BASE:
EMAIL_BACKEND
=
ENV_TOKENS
.
get
(
'EMAIL_BACKEND'
,
EMAIL_BACKEND
)
EMAIL_FILE_PATH
=
ENV_TOKENS
.
get
(
'EMAIL_FILE_PATH'
,
None
)
EMAIL_HOST
=
ENV_TOKENS
.
get
(
'EMAIL_HOST'
,
EMAIL_HOST
)
EMAIL_PORT
=
ENV_TOKENS
.
get
(
'EMAIL_PORT'
,
EMAIL_PORT
)
EMAIL_USE_TLS
=
ENV_TOKENS
.
get
(
'EMAIL_USE_TLS'
,
EMAIL_USE_TLS
)
EMAIL_HOST_USER
=
AUTH_TOKENS
.
get
(
'EMAIL_HOST_USER'
,
EMAIL_HOST_USER
)
EMAIL_HOST_PASSWORD
=
AUTH_TOKENS
.
get
(
'EMAIL_HOST_PASSWORD'
,
EMAIL_HOST_PASSWORD
)
LMS_BASE
=
ENV_TOKENS
.
get
(
'LMS_BASE'
)
# Note that FEATURES['PREVIEW_LMS_BASE'] gets read in from the environment file.
...
...
cms/envs/common.py
View file @
8e67645d
...
...
@@ -197,6 +197,11 @@ IGNORABLE_404_ENDS = ('favicon.ico')
# Email
EMAIL_BACKEND
=
'django.core.mail.backends.console.EmailBackend'
EMAIL_HOST
=
'localhost'
EMAIL_PORT
=
25
EMAIL_USE_TLS
=
False
EMAIL_HOST_USER
=
''
EMAIL_HOST_PASSWORD
=
''
DEFAULT_FROM_EMAIL
=
'registration@example.com'
DEFAULT_FEEDBACK_EMAIL
=
'feedback@example.com'
SERVER_EMAIL
=
'devops@example.com'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment