Skip to content

Instantly share code, notes, and snippets.

View sampaccoud's full-sized avatar

Samuel Paccoud sampaccoud

View GitHub Profile
diff --git a/cms/djangoapps/contentstore/views/component.py b/cms/djangoapps/contentstore/views/component.py
index f65f281151..c8d0521c30 100644
--- a/cms/djangoapps/contentstore/views/component.py
+++ b/cms/djangoapps/contentstore/views/component.py
@@ -27,6 +27,15 @@ from xblock_django.models import XBlockStudioConfigurationFlag
from xmodule.modulestore.django import modulestore
from xmodule.modulestore.exceptions import ItemNotFoundError
+# Try to import the configurable LTI consumer xblock
+try: