Skip to content

Commit

Permalink
updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
knowsuchagency committed Jun 25, 2017
1 parent eddc8c0 commit 15424cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ninjadog/ext/jinja2.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ def jinja2_renderer(string: str = '',
"""
Renders pug and jinja2 syntax formatted string to html.
Jinja2 will be rendered first and can accept any Python
object as its context.
Pug will be rendered first and can accept will only receive
json-serializable data as its context.
The pug-template engine will only receive json-serializable
data, however.
Jinja2 will then render any Python object in the context.
Args:
string: the string to be rendered
Expand Down

0 comments on commit 15424cb

Please sign in to comment.