KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Let's say, I created a template object (f.e. using environment.from_string(template_path) ). Is it possible to check whether given variable name exist in created template? I would like to know, if template.render(x="text for x") would have any effect (if something would be actually replaced by "text for x" or not). How to check if variable x exist?
Tags (comma-separated)
Save Edits
Cancel