Flask extensions IN PyCharm
Question: I'm actually having trouble using the `flask.ext` with PyCharm ide. I
installed the flask-script and flask-bootstrap but the Pycharm is unable to
recognize them. I'm getting the following error.

    
    
    Traceback (most recent call last):
    File "/home/brucewilson/PycharmProjects/demo_proj/demo.prj.py", line 5, in <module>
    from flask.ext.bootstrap import Bootstrap
    File "/home/brucewilson/flasky/venv/local/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module
    raise ImportError('No module named %s' % fullname)
    ImportError: No module named flask.ext.bootstrap
    


Answer: The correct way to import Flask-Bootstrap is with

    
    
    from flask_bootstrap import Bootstrap
    

not with

    
    
    from flask.ext.bootstrap import Bootstrap
    

As per the [documentation](http://pythonhosted.org/Flask-Bootstrap/basic-
usage.html).

