Skip to content
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

Attempt to render template with g.render #117

Closed
jameskleeh opened this issue Feb 27, 2017 · 0 comments
Closed

Attempt to render template with g.render #117

jameskleeh opened this issue Feb 27, 2017 · 0 comments
Milestone

Comments

@jameskleeh
Copy link
Collaborator

jameskleeh commented Feb 27, 2017

Currently if a non iterable object is passed to g.render(..), the method does not attempt to render a template for that object. I propose that it should and it should be changed for 1.2 with an upgrade note in the docs about this breaking change.

Given that it does look for templates when the argument is an Iterable, I think this change leads to more consistent behavior

@jameskleeh jameskleeh added this to the 1.2.0 milestone Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant