-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support options passed to plugin when using template_string #35
Comments
Michael Bayer (@zzzeek) wrote: [changeset:253] |
Changes by Michael Bayer (@zzzeek):
|
Anonymous wrote: Unfortunately, this fix breaks this [http://docs.pythonweb.org/display/pylonscookbook/An+Alternative+ToscaWidgets+Setup+with+Mako ToscaWidgets recipe] because the middleware passes "mako.directories" as part of tmpl_options, and Template.init no longer takes a "directories" keyword. However, TemplateLookup does, so the change needs to keep passing "directories" to TemplateLookup, but not to Template.init. |
Changes by Anonymous:
|
Michael Bayer (@zzzeek) wrote: [changeset:293] |
Changes by Michael Bayer (@zzzeek):
|
Migrated issue, originally created by Anonymous
TGPlugin currently doesn't pass options passed to the constructor when instantiating a Template from a template_string. Attached patch fixes it
Alberto
Attachments: options_when_tpl_string.diff
The text was updated successfully, but these errors were encountered: