Templetor web.template checks a BLACKLIST for SecurityError rather than a whitelist .. several newer python 2xx features like dict comprehensions were not being allowed in the template for no good reason I can think of ...