 <p><code>from app.models import Entry</code></p> <p>You must import Entry from the models module of the app.</p> <p>You may also need to add relative imports in your <code>__init__</code> for any custom modules.</p> <p>add to your <code>__init__</code></p> <p><code>from .models import *</code></p> <p>edit: Another useful debugging tip - is to use the <code>dir()</code> function to see what is included in a package. In your case, the imports are working so you can run something like</p> <p><code>dir(app)</code></p> <blockquote> <p>With an argument, attempt to return a list of valid attributes for that object.</p> </blockquote> <p>for instance here is a returned list for a flask app I wrote.if You cant see your moudle here, add the import.</p> <p><a href="https://i.stack.imgur.com/0YD4N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0YD4N.png" alt="enter image description here"></a></p>