Merge pull request #22605 from edx/awais786/BOM-1117

BOM-1117
This commit is contained in:
Awais Qureshi
2019-12-30 20:15:00 +05:00
committed by GitHub
8 changed files with 17 additions and 2 deletions

View File

@@ -7,6 +7,9 @@ from django.conf.urls import include, url
from . import views
app_name = 'openedx.core.djangoapps.content_libraries'
# These URLs are only used in Studio. The LMS already provides all the
# API endpoints needed to serve XBlocks from content libraries using the
# standard XBlock REST API (see openedx.core.django_apps.xblock.rest_api.urls)

View File

@@ -9,6 +9,8 @@ from django.conf.urls import url
from .helpers import is_comprehensive_theming_enabled
from .views import ThemingAdministrationFragmentView
app_name = 'openedx.core.djangoapps.theming'
if is_comprehensive_theming_enabled():
urlpatterns = [
url(

View File

@@ -9,6 +9,8 @@ from . import views
# may act a bit differently in each (e.g. Studio stores user state ephemerally).
# If necessary at some point in the future, these URLs could be duplicated into
# urls_studio and urls_lms, and/or the views could be likewise duplicated.
app_name = 'openedx.core.djangoapps.xblock.rest_api'
urlpatterns = [
url(r'^api/xblock/v2/', include([
url(r'^xblocks/(?P<usage_key_str>[^/]+)/', include([