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
b3462e5b
Commit
b3462e5b
authored
May 25, 2016
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12544 from edx/derf/override_SES_email_region
override SES email region
parents
53f6d40d
8a9df368
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
cms/envs/aws.py
+3
-0
lms/envs/aws.py
+3
-0
requirements/edx/base.txt
+1
-1
No files found.
cms/envs/aws.py
View file @
b3462e5b
...
...
@@ -266,6 +266,9 @@ if 'DJFS' in AUTH_TOKENS and AUTH_TOKENS['DJFS'] is not None:
EMAIL_HOST_USER
=
AUTH_TOKENS
.
get
(
'EMAIL_HOST_USER'
,
EMAIL_HOST_USER
)
EMAIL_HOST_PASSWORD
=
AUTH_TOKENS
.
get
(
'EMAIL_HOST_PASSWORD'
,
EMAIL_HOST_PASSWORD
)
AWS_SES_REGION_NAME
=
ENV_TOKENS
.
get
(
'AWS_SES_REGION_NAME'
,
'us-east-1'
)
AWS_SES_REGION_ENDPOINT
=
ENV_TOKENS
.
get
(
'AWS_SES_REGION_ENDPOINT'
,
'email-smtp.us-east-1.amazonaws.com'
)
# Note that this is the Studio key for Segment. There is a separate key for the LMS.
CMS_SEGMENT_KEY
=
AUTH_TOKENS
.
get
(
'SEGMENT_KEY'
)
...
...
lms/envs/aws.py
View file @
b3462e5b
...
...
@@ -159,6 +159,9 @@ SESSION_COOKIE_HTTPONLY = ENV_TOKENS.get('SESSION_COOKIE_HTTPONLY', True)
SESSION_COOKIE_SECURE
=
ENV_TOKENS
.
get
(
'SESSION_COOKIE_SECURE'
,
SESSION_COOKIE_SECURE
)
SESSION_SAVE_EVERY_REQUEST
=
ENV_TOKENS
.
get
(
'SESSION_SAVE_EVERY_REQUEST'
,
SESSION_SAVE_EVERY_REQUEST
)
AWS_SES_REGION_NAME
=
ENV_TOKENS
.
get
(
'AWS_SES_REGION_NAME'
,
'us-east-1'
)
AWS_SES_REGION_ENDPOINT
=
ENV_TOKENS
.
get
(
'AWS_SES_REGION_ENDPOINT'
,
'email.us-east-1.amazonaws.com'
)
REGISTRATION_EXTRA_FIELDS
=
ENV_TOKENS
.
get
(
'REGISTRATION_EXTRA_FIELDS'
,
REGISTRATION_EXTRA_FIELDS
)
REGISTRATION_EXTENSION_FORM
=
ENV_TOKENS
.
get
(
'REGISTRATION_EXTENSION_FORM'
,
REGISTRATION_EXTENSION_FORM
)
REGISTRATION_EMAIL_PATTERNS_ALLOWED
=
ENV_TOKENS
.
get
(
'REGISTRATION_EMAIL_PATTERNS_ALLOWED'
)
...
...
requirements/edx/base.txt
View file @
b3462e5b
...
...
@@ -27,7 +27,7 @@ django-oauth-plus==2.2.8
django-oauth-toolkit==0.10.0
django-pipeline-forgiving==1.0.0
django-sekizai==0.8.2
django-ses==0.7.
0
django-ses==0.7.
1
django-simple-history==1.6.3
django-statici18n==1.1.5
django-storages==1.4.1
...
...
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