Register custom user model with admin auth : <p>In a Django project, I have a custom user model that adds one extra field:</p>

<pre><code>class User(AbstractUser):

    company = models.ForeignKey(Company, null=True, blank=True)
</code></pre>

<p>This model is defined in my app, say <code>MyApp.models</code>.</p>

<p>How can I get the new <code>User</code> model to show up under "Authentication and Authorization" as the original <code>django.contrib.auth</code> model? </p>

<p><a href="https://i.stack.imgur.com/AZxiV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AZxiV.png" alt="enter image description here"></a></p>
