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
def8ee7e
Commit
def8ee7e
authored
Feb 25, 2014
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xblock-activate-aws: Allow to activate XBlocks using AWS configuration
parent
4e8e6d36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
cms/envs/aws.py
+5
-0
lms/envs/aws.py
+5
-0
No files found.
cms/envs/aws.py
View file @
def8ee7e
...
@@ -229,6 +229,11 @@ BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
...
@@ -229,6 +229,11 @@ BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
CELERY_BROKER_HOSTNAME
,
CELERY_BROKER_HOSTNAME
,
CELERY_BROKER_VHOST
)
CELERY_BROKER_VHOST
)
# XBlocks
if
ENV_TOKENS
.
get
(
'XBLOCK_SELECT_FUNCTION'
)
==
'prefer_xmodules'
:
from
xmodule.x_module
import
prefer_xmodules
XBLOCK_SELECT_FUNCTION
=
prefer_xmodules
# Event tracking
# Event tracking
TRACKING_BACKENDS
.
update
(
AUTH_TOKENS
.
get
(
"TRACKING_BACKENDS"
,
{}))
TRACKING_BACKENDS
.
update
(
AUTH_TOKENS
.
get
(
"TRACKING_BACKENDS"
,
{}))
...
...
lms/envs/aws.py
View file @
def8ee7e
...
@@ -375,6 +375,11 @@ PASSWORD_DICTIONARY = ENV_TOKENS.get("PASSWORD_DICTIONARY", [])
...
@@ -375,6 +375,11 @@ PASSWORD_DICTIONARY = ENV_TOKENS.get("PASSWORD_DICTIONARY", [])
### INACTIVITY SETTINGS ####
### INACTIVITY SETTINGS ####
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
=
AUTH_TOKENS
.
get
(
"SESSION_INACTIVITY_TIMEOUT_IN_SECONDS"
)
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
=
AUTH_TOKENS
.
get
(
"SESSION_INACTIVITY_TIMEOUT_IN_SECONDS"
)
### XBLOCKS ###
if
ENV_TOKENS
.
get
(
'XBLOCK_SELECT_FUNCTION'
)
==
'prefer_xmodules'
:
from
xmodule.x_module
import
prefer_xmodules
XBLOCK_SELECT_FUNCTION
=
prefer_xmodules
##### LMS DEADLINE DISPLAY TIME_ZONE #######
##### LMS DEADLINE DISPLAY TIME_ZONE #######
TIME_ZONE_DISPLAYED_FOR_DEADLINES
=
ENV_TOKENS
.
get
(
"TIME_ZONE_DISPLAYED_FOR_DEADLINES"
,
TIME_ZONE_DISPLAYED_FOR_DEADLINES
=
ENV_TOKENS
.
get
(
"TIME_ZONE_DISPLAYED_FOR_DEADLINES"
,
TIME_ZONE_DISPLAYED_FOR_DEADLINES
)
TIME_ZONE_DISPLAYED_FOR_DEADLINES
)
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