title: auto importing python classes in flask shell not working as expected
body: <p>So I have a flask app structured in this manner</p>
  
  <pre><code>calvin % tree -L 3 .
  .
  ├── README
  ├── alembic
  │   ├── README
  │   ├── env.py
  │   ├── env.pyc
  │   ├── script.py.mako
  │   └── versions
  ├── alembic.ini
  ├── api.sublime-project
  ├── app
  │   ├── __init__.py
  │   ├── __init__.pyc
  │   ├── admin
  │   │   ├── __init__.py
  │   │   └── __init__.pyc
  │   ├── agencies
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── models.py
  │   │   └── models.pyc
  │   ├── agents
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── models.py
  │   │   ├── models.pyc
  │   │   ├── views.py
  │   │   └── views.pyc
  │   ├── api.py
  │   ├── api.pyc
  │   ├── auth
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── constants.py
  │   │   ├── constants.pyc
  │   │   ├── decorators.py
  │   │   ├── decorators.pyc
  │   │   ├── models.py
  │   │   ├── models.pyc
  │   │   ├── views.py
  │   │   └── views.pyc
  │   ├── districts
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── models.py
  │   │   ├── models.pyc
  │   │   ├── views.py
  │   │   └── views.pyc
  │   ├── helpers.py
  │   ├── helpers.pyc
  │   ├── middleware.py
  │   ├── middleware.pyc
  │   ├── models.py
  │   ├── models.pyc
  │   ├── properties
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── models.py
  │   │   └── models.pyc
  │   ├── templates
  │   │   └── index.html
  │   ├── users
  │   │   ├── __init__.py
  │   │   ├── __init__.pyc
  │   │   ├── models.py
  │   │   ├── models.pyc
  │   │   ├── views.py
  │   │   └── views.pyc
  │   └── viewings
  │       ├── __init__.py
  │       ├── __init__.pyc
  │       ├── models.py
  │       ├── models.pyc
  │       ├── views.py
  │       └── views.pyc
  ├── config.py
  ├── config.pyc
  ├── manage.py
  ├── requirements.txt
  ├── run.py
  └── shell.py
  </code></pre>
  
  <p>I am setting up my shell so that it auto-imports all the classes located in the <code>models.py</code> files when I execute <code>./manage.py shell</code></p>
  
  <p>And this is the script in <code>manage.py</code> that is intended to achieve that (reference flask-script docs)</p>
  
  <pre><code>def _make_context():
      from app import models
      return dict(app=app, db=db, models=models)  # TODO: this is not working appropriately
  manager.add_command("shell", Shell(make_context=_make_context))
  </code></pre>
  
  <p>In my app/models.py, I have import statements from every module, "agencies", "auth" etc etc.</p>
  
  <p>However, when I enter my shell environment, I have to access my classes as <code>models.Users</code> instead of directly <code>Users</code>, which is not what I am expecting.  How do I auto-import everything so that I can access the classes directly?</p>