url(r'^transcripts/upload$', contentstore.views.upload_transcripts, name='upload_transcripts'), url(r'^transcripts/download$', contentstore.views.download_transcripts, name='download_transcripts'), url(r'^transcripts/check$', contentstore.views.check_transcripts, name='check_transcripts'), url(r'^transcripts/choose$', contentstore.views.choose_transcripts, name='choose_transcripts'), url(r'^transcripts/replace$', contentstore.views.replace_transcripts, name='replace_transcripts'), url(r'^transcripts/rename$', contentstore.views.rename_transcripts, name='rename_transcripts'), url(r'^transcripts/save$', contentstore.views.save_transcripts, name='save_transcripts'), url(r'^preview/xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', contentstore.views.preview_handler, name='preview_handler'), url(r'^xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', contentstore.views.component_handler, name='component_handler'), url(r'^xblock/resource/(?P<block_type>[^/]*)/(?P<uri>.*)$', openedx.core.djangoapps.common_views.xblock.xblock_resource, name='xblock_resource_url'), url(r'^not_found$', contentstore.views.not_found, name='not_found'), url(r'^server_error$', contentstore.views.server_error, name='server_error'), url(r'^organizations$', OrganizationListView.as_view(), name='organizations'), # noop to squelch ajax errors url(r'^event$', contentstore.views.event, name='event'), url(r'^xmodule/', include('pipeline_js.urls')), url(r'^heartbeat$', include('openedx.core.djangoapps.heartbeat.urls')), url(r'^user_api/', include('openedx.core.djangoapps.user_api.legacy_urls')), url(r'^i18n/', include('django.conf.urls.i18n')), # User API endpoints url(r'^api/user/', include('openedx.core.djangoapps.user_api.urls')), # Update session view url(r'^lang_pref/session_language', openedx.core.djangoapps.lang_pref.views.update_session_language, name='session_language'
"contentstore.views.preview_handler", name="preview_handler", ), url( r"^xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$", "contentstore.views.component_handler", name="component_handler", ), url( r"^xblock/resource/(?P<block_type>[^/]*)/(?P<uri>.*)$", "openedx.core.djangoapps.common_views.xblock.xblock_resource", name="xblock_resource_url", ), url(r"^not_found$", "contentstore.views.not_found", name="not_found"), url(r"^server_error$", "contentstore.views.server_error", name="server_error"), url(r"^organizations$", OrganizationListView.as_view(), name="organizations"), # noop to squelch ajax errors url(r"^event$", "contentstore.views.event", name="event"), url(r"^xmodule/", include("pipeline_js.urls")), url(r"^heartbeat$", include("openedx.core.djangoapps.heartbeat.urls")), url(r"^user_api/", include("openedx.core.djangoapps.user_api.legacy_urls")), url(r"^i18n/", include("django.conf.urls.i18n")), # User API endpoints url(r"^api/user/", include("openedx.core.djangoapps.user_api.urls")), # Update session view url( r"^lang_pref/session_language", "openedx.core.djangoapps.lang_pref.views.update_session_language", name="session_language", ), # Darklang View to change the preview language (or dark language)
url(r'^transcripts/replace$', 'contentstore.views.replace_transcripts', name='replace_transcripts'), url(r'^transcripts/rename$', 'contentstore.views.rename_transcripts', name='rename_transcripts'), url(r'^transcripts/save$', 'contentstore.views.save_transcripts', name='save_transcripts'), url(r'^preview/xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', 'contentstore.views.preview_handler', name='preview_handler'), url(r'^xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', 'contentstore.views.component_handler', name='component_handler'), url(r'^xblock/resource/(?P<block_type>[^/]*)/(?P<uri>.*)$', 'openedx.core.djangoapps.common_views.xblock.xblock_resource', name='xblock_resource_url'), url(r'^not_found$', 'contentstore.views.not_found', name='not_found'), url(r'^server_error$', 'contentstore.views.server_error', name='server_error'), url(r'^organizations$', OrganizationListView.as_view(), name='organizations'), # noop to squelch ajax errors url(r'^event$', 'contentstore.views.event', name='event'), url(r'^xmodule/', include('pipeline_js.urls')), url(r'^heartbeat$', include('openedx.core.djangoapps.heartbeat.urls')), url(r'^user_api/', include('openedx.core.djangoapps.user_api.legacy_urls')), url(r'^i18n/', include('django.conf.urls.i18n')), # User API endpoints url(r'^api/user/', include('openedx.core.djangoapps.user_api.urls')), # Update session view
name='save_transcripts'), url(r'^preview/xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', contentstore.views.preview_handler, name='preview_handler'), url(r'^xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', contentstore.views.component_handler, name='component_handler'), url(r'^xblock/resource/(?P<block_type>[^/]*)/(?P<uri>.*)$', openedx.core.djangoapps.common_views.xblock.xblock_resource, name='xblock_resource_url'), url(r'^not_found$', contentstore.views.not_found, name='not_found'), url(r'^server_error$', contentstore.views.server_error, name='server_error'), url(r'^organizations$', OrganizationListView.as_view(), name='organizations'), # noop to squelch ajax errors url(r'^event$', contentstore.views.event, name='event'), url(r'^xmodule/', include('pipeline_js.urls')), url(r'^heartbeat', include('openedx.core.djangoapps.heartbeat.urls')), url(r'^user_api/', include('openedx.core.djangoapps.user_api.legacy_urls')), url(r'^i18n/', include('django.conf.urls.i18n')), # User API endpoints url(r'^api/user/', include('openedx.core.djangoapps.user_api.urls')), # Update session view url(r'^lang_pref/session_language',
contentstore_views.preview_handler, name='preview_handler'), re_path( r'^xblock/(?P<usage_key_string>.*?)/handler/(?P<handler>[^/]*)(?:/(?P<suffix>.*))?$', contentstore_views.component_handler, name='component_handler'), re_path(r'^xblock/resource/(?P<block_type>[^/]*)/(?P<uri>.*)$', openedx.core.djangoapps.common_views.xblock.xblock_resource, name='xblock_resource_url'), path( '', include('openedx.core.djangoapps.xblock.rest_api.urls', namespace='xblock_api')), path('not_found', contentstore_views.not_found, name='not_found'), path('server_error', contentstore_views.server_error, name='server_error'), path('organizations', OrganizationListView.as_view(), name='organizations'), # noop to squelch ajax errors path('event', contentstore_views.event, name='event'), path('heartbeat', include('openedx.core.djangoapps.heartbeat.urls')), path('i18n/', include('django.conf.urls.i18n')), # User API endpoints path('api/user/', include('openedx.core.djangoapps.user_api.urls')), # Update session view path('lang_pref/session_language', openedx.core.djangoapps.lang_pref.views.update_session_language, name='session_language'),