title: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. in Django 3.1
body: <p>I have used Django Multitenant. I need to create a tenant creation flow in the background. so I have used multiprocessing Django.</p>
  <p>Here my code is</p>
  <pre><code>p1 = multiprocessing.Process(target=create_tenant_background, args=[username,email,password,tenant_name,user.id])
  
  p1.start()
  </code></pre>
  <p>and my background function is</p>
  <pre><code>def create_tenant_background(username,email,password,tenant_name,user_id):
            # my code
  </code></pre>
  <p>After I run the code below error in the terminal pls help me to solve the issue.</p>
  <p><a href="https://i.stack.imgur.com/Lv2H0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lv2H0.png" alt="enter image description here" /></a></p>