docs: Clarify a potentially confusing deprecation message
This commit is contained in:
committed by
Braden MacDonald
parent
40e86425d9
commit
5d93f883f1
@@ -143,7 +143,9 @@ class RuntimeShim:
|
||||
"""
|
||||
warnings.warn(
|
||||
"Use of runtime.render_template is deprecated. "
|
||||
"Use xblockutils.resources.ResourceLoader.render_mako_template or a JavaScript-based template instead.",
|
||||
"For template files included with your XBlock (which is preferable), use "
|
||||
"xblockutils.resources.ResourceLoader.render_mako_template to render them, or use a JavaScript-based "
|
||||
"template instead. For template files that are part of the LMS/Studio, use the 'mako' XBlock service.",
|
||||
DeprecationWarning, stacklevel=2,
|
||||
)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user