title: Why is alembic not autogenerating?
body: <p>I am learning flask . Using sqlalchemy for orm and alembic for migrations
  Going through and following:
  <a href="http://alembic.readthedocs.org/en/latest/autogenerate.html" rel="noreferrer">http://alembic.readthedocs.org/en/latest/autogenerate.html</a></p>
  
  <p>whenever i pass the command " alembic revision --autogenerate -m 'name' " , this error pops up . whatever i do , i configured the config.py file but i think maybe i am configuring the env.py file the wrong way . Or something is wrong because i followed every step of the tutorial.</p>
  
  <pre><code>File "alembic/env.py", line 20, in &lt;module&gt;
  from myapp.mymodel import Base
  ImportError: No module named app.models
  
  
  
  
  folder directory:
  project/
         app/
            models.py
            views.py
            __init__.py
         alembic/
                versions
                env.py
         config.py
  </code></pre>