title: Django 1.9 and django.contrib.auth
body: <p>I don't have <code>django.contrib.auth</code> in <code>INSTALLED_APPS</code>, and I don't want to do it because I'm using a custom user model and I don't need none of the builtin <code>User</code>, <code>Group</code> and <code>Permission</code> models.</p>
  
  <p>I was hoping this was possible in Django 1.9, as the docs state in <a href="https://docs.djangoproject.com/en/1.9/releases/1.9/" rel="nofollow">https://docs.djangoproject.com/en/1.9/releases/1.9/</a> under the <code>django.contrib.auth</code> section that:</p>
  
  <blockquote>
    <p><code>AbstractBaseUser</code> and <code>BaseUserManager</code> were moved to a new <code>django.contrib.auth.base_user</code> module so that they can be imported without including <code>django.contrib.auth</code> in <code>INSTALLED_APPS</code> (doing so raised a deprecation warning in older versions and is no longer supported in Django 1.9).</p>
  </blockquote>
  
  <p>However, as of now I can't import anything from <code>django.contrib.auth</code> without raising errors. No middleware or form can be imported. I have to either add <code>django.contrib.auth</code> to <code>INSTALLED_APPS</code> or don't use anything from that module.</p>
  
  <p>Whenever a model in <code>django.contrib.auth</code> is indirectly imported I get the classic error that: <code>whatever_model_was_indirectly_imported</code> doesn't declare an explicit <code>app_label</code> and isn't in an application in <code>INSTALLED_APPS</code>.</p>
  
  <p><strong>EDIT:</strong> Including last part of the traceback:</p>
  
  <pre><code>...
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/middleware.py", line 3, in &lt;module&gt;
      from django.contrib.auth.backends import RemoteUserBackend
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/backends.py", line 4, in &lt;module&gt;
      from django.contrib.auth.models import Permission
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/models.py", line 38, in &lt;module&gt;
      class Permission(models.Model):
    File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 102, in __new__
      "INSTALLED_APPS." % (module, name)
  RuntimeError: Model class django.contrib.auth.models.Permission doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
  </code></pre>
  
  <p>Any workarounds?</p>