+ 2
Why can't I use flask extensions?
Whenever I try "from flask.ext import Moment, an error is raised saying "ImportError: No module named ext". I looked into site-package/flask in the Lib directory and there was no ext module. I thought it's weird giving the fact that I used pip to download flask and it was successful! P.S. I am using py2.7 as it's required by the employer.
3 Antworten
+ 2
Oh, good to know that the ext module is no longer supported! I kinda used a direct import and it worked. But I wanted to make sure. Thanks a whole lot Burey , your links are quite helpful.
+ 1
Bonsoir