Add {%asynchronous%} directive to allow templates to call asynchronous functions with gen.Task and return their results through a callback #553

Open
wants to merge 1 commit into from

3 participants

@alekstorm

No description provided.

@alekstorm alekstorm Add {%asynchronous%} directive to allow templates to call asynchronou…
…s functions with gen.Task

and return their results through a callback
ba78c5c
@bdarnell bdarnell added the template label Jul 16, 2014
@stalkerg

It is not necessary for the Tornado templates. But it is very necessary for Mako templates where there caching template functions. It is up to them to perform or not perform should query to the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment