Skip to content

Commit

Permalink
blackify
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoch committed Feb 12, 2019
1 parent e06f7b1 commit b8866b3
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions config/lms/docker_run_development.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@

SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"

LTI_XBLOCK_CONFIGURATIONS = config(
"LTI_XBLOCK_CONFIGURATIONS", default=[], formatter=json.loads
)
#LTI_XBLOCK_CONFIGURATIONS = config(
# "LTI_XBLOCK_CONFIGURATIONS", default=[], formatter=json.loads
#)

LTI_XBLOCK_CONFIGURATIONS = [
{
'display_name': 'Marsha Video',
'shared_secret': '!=$BngOzLu!2+O3G@3k-CL?7#uLV%rRqIpbc1taI',
'oauth_consumer_key': 'F6BXYJD80RLN0737OSSK',
'is_launch_url_regex': True,
'pattern': '.*marsha\.education/lti.*',
'hidden_fields': ['accept_grades_past_due', 'ask_to_send_username', 'ask_to_send_email', 'button_text', 'custom_parameters', 'description', 'has_score', 'hide_launch', 'inline_height', 'launch_target', 'lti_id', 'modal_height','modal_width', 'weight'],
'automatic_resizing': True,
'automatic_resizing_initial_ratio': 0.5625,
'defaults': {
'launch_target': 'iframe',
'inline_height': 0,
'lti_id': 'marsha',
'launch_url': 'https://marsha\.education/lti/videos/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'
},
},
{
'display_name': 'LTI consumer'
}]

0 comments on commit b8866b3

Please sign in to comment.