Browse Source

Merge pull request #594 from ralphbean/patch-1

Update flask/templating.py
pull/597/head
Kenneth Reitz 12 years ago
parent
commit
ee76129812
  1. 4
      flask/templating.py

4
flask/templating.py

@ -129,8 +129,8 @@ def render_template_string(source, **context):
"""Renders a template from the given template source string """Renders a template from the given template source string
with the given context. with the given context.
:param template_name: the sourcecode of the template to be :param source: the sourcecode of the template to be
rendered rendered
:param context: the variables that should be available in the :param context: the variables that should be available in the
context of the template. context of the template.
""" """

Loading…
Cancel
Save