title: Django 1.8 migrations - CircularDependencyError
body: <p>I have 2 django apps i.e. main and authtools. When I run </p>
  
  <blockquote>
    <p>python manage.py migrate</p>
  </blockquote>
  
  <p>, I get a CircularDependencyError:</p>
  
  <pre><code>raise CircularDependencyError(", ".join("%s.%s" % n for n in cycle))
  django.db.migrations.graph.CircularDependencyError: main.0001_initial, authtools.0001_initial
  </code></pre>
  
  <p>In my setting file I have the AUTH_USER_MODEL defined as such:<code>AUTH_USER_MODEL = 'authtools.User'</code> . The migration files created look like this:
  For the authtools app, it shows dependancies as:</p>
  
  <pre><code>dependencies = [
          ('main', '__first__'),
          ('auth', '0001_initial'),
      ]
  </code></pre>
  
  <p>And for the main app, the depandancies are shown as:</p>
  
  <pre><code>dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  </code></pre>
  
  <p>What could be wrong?</p>