KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The template file i created contains this: {% if type({'a':1,'b':2}) is dict %} print "Oh Yes!!" {% else %} print "Oh No!!!" {% endif %} Then Jinja2 responds by saying: TemplateAssertionError: no test named 'dict' I am completely new to Jinja2 and Flask
Tags (comma-separated)
Save Edits
Cancel