title: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. when I run uwsgi
body: <p>In my virtual environment, when I use <code>uwsgi --ini uwsgi.ini</code> to run the uWSGI.</p>
  
  <p>I get the bellow error:</p>
  
  <pre><code>mapped 543168 bytes (530 KB) for 20 cores
  *** Operational MODE: threaded ***
  Traceback (most recent call last):
    File "Qiyun02/wsgi.py", line 18, in &lt;module&gt;
      from 管理员后台.网站管理.admin_website_chat.views import sio
    File "./管理员后台/网站管理/admin_website_chat/views.py", line 2, in &lt;module&gt;
      from 管理员后台.用户管理admin_usermanage.models import User
    File "./管理员后台/用户管理/admin_usermanage/models.py", line 6, in &lt;module&gt;
      from django.contrib.auth.models import AbstractUser
    File "/home/lll/repo/myProject/venv_dist/lib/python3.5/site-packages/django/contrib/auth/models.py", line 4, in &lt;module&gt;
      from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
    File "/home/lll/repo/QmyProjectyun02/venv_dist/lib/python3.5/site-packages/django/contrib/auth/base_user.py", line 52, in &lt;module&gt;
      class AbstractBaseUser(models.Model):
    File "/home/lll/repo/myProject/venv_dist/lib/python3.5/site-packages/django/db/models/base.py", line 110, in __new__
      app_config = apps.get_containing_app_config(module)
  File "/home/lll/repo/myProject/venv_dist/lib/python3.5/site-packages/django/apps/registry.py", line 247, in get_containing_app_config
      self.check_apps_ready()
    File "/home/lll/repo/myProject/venv_dist/lib/python3.5/site-packages/django/apps/registry.py", line 125, in check_apps_ready
      raise AppRegistryNotReady("Apps aren't loaded yet.")
  django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
  unable to load app 0 (mountpoint='') (callable not found or import error)
  *** no app loaded. going in full dynamic mode ***
  *** uWSGI is running in multiple interpreter mode ***
  spawned uWSGI master process (pid: 32347)
  spawned uWSGI worker 1 (pid: 32349, cores: 20)
  spawned uWSGI http 1 (pid: 32350)
  </code></pre>
  
  <p>But in my virtual environment I use the python check, there is no issues.</p>
  
  <pre><code>(venv_dist) [ldl@www myProject]$ python3 manage.py check 
  System check identified no issues (0 silenced).
  </code></pre>
  
  <p>I also can <code>python3 manage.py runserver</code> in my virtual environment.</p>
  
  <p>Why there get this <code>AppRegistryNotReady</code> error when I run uwsgi?  </p>
  
  <hr>
  
  <p>Or, does the uwsgi support non-latin characters? I have some Chinese characters there.</p>