PLAT-1774 Move x_module monkey-patching
This commit is contained in:
@@ -1270,7 +1270,7 @@ class ConfigurableFragmentWrapper(object):
|
||||
# the Runtime part of its interface. This function mostly matches the
|
||||
# Runtime.handler_url interface.
|
||||
#
|
||||
# The monkey-patching happens in (lms|cms)/startup.py
|
||||
# The monkey-patching happens in cms/djangoapps/xblock_config/apps.py and lms/djangoapps/lms_xblock/apps.py
|
||||
def descriptor_global_handler_url(block, handler_name, suffix='', query='', thirdparty=False): # pylint: disable=unused-argument
|
||||
"""
|
||||
See :meth:`xblock.runtime.Runtime.handler_url`.
|
||||
@@ -1282,7 +1282,7 @@ def descriptor_global_handler_url(block, handler_name, suffix='', query='', thir
|
||||
# we can refactor modulestore to split out the FieldData half of its interface from
|
||||
# the Runtime part of its interface. This function matches the Runtime.local_resource_url interface
|
||||
#
|
||||
# The monkey-patching happens in (lms|cms)/startup.py
|
||||
# The monkey-patching happens in cms/djangoapps/xblock_config/apps.py and lms/djangoapps/lms_xblock/apps.py
|
||||
def descriptor_global_local_resource_url(block, uri): # pylint: disable=invalid-name, unused-argument
|
||||
"""
|
||||
See :meth:`xblock.runtime.Runtime.local_resource_url`.
|
||||
|
||||
Reference in New Issue
Block a user