Unable to import models in __init__.py django 1.9.4
<p>My directory structure is.</p>

<pre><code>Mypack:
  --&gt; __init__.py
  --&gt; admin.py
  --&gt; apps.py
  --&gt; foo.py
  --&gt; models.py
</code></pre>

<p>In apps.py, I have AppConfig. I have some methods in foo.py which uses the models imported from models.py. and I imported all methods in <strong>init</strong>.py.</p>

<pre><code>from foo import *
</code></pre>

<p>I make this app installable with pip. when I install it in other django app and try to run python manage.py check. it gives the following error.</p>

<blockquote>
  <p>django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.</p>
</blockquote>

<p>please suggest me, how to fix this issue?</p>