Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion openedx/core/djangoapps/xblock/runtime/shims.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ def render_template(self, template_name, dictionary, namespace='main'):
"""
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:
Expand Down