Closed tushuhei closed 8 years ago
Since the original code snippet incurs AttributeError ('module' object has no attribute 'ext'), I rewrite the code snippet to make it work.
Thanks! It turns out the import jinja2; jinja2.ext.Extension syntax doesn't work reliably across both unpackaged and packaged grows, but yours does. Thank you!
import jinja2; jinja2.ext.Extension
Since the original code snippet incurs AttributeError ('module' object has no attribute 'ext'), I rewrite the code snippet to make it work.