title: ProgrammingError at /api/accounts/ relation does not exist
body: <p>I have this django app on windows 10</p>
  
  <ul>
  <li>python 3.6.2 </li>
  <li>django 1.11.5 </li>
  <li>djangorest 3.6.4  </li>
  <li>postgreSql 9.6</li>
  </ul>
  
  <p>I'm using a <strong>custom User Model(AppUser)</strong> in the accounts app and i have <strong>AUTH_USER_MODEL = 'accounts.AppUser'</strong> in my settings file.</p>
  
  <p>I migrate in this order as advised from various sources</p>
  
  <ol>
  <li><code>migrate auth</code></li>
  <li><code>migrate accounts</code></li>
  <li><code>migrate</code> to migrate all other apps</li>
  </ol>
  
  <p>And migrations succeeds as expected. The problem begins when i try to access the api through the browsable api</p>
  
  <blockquote>
    <p>ProgrammingError at /api/accounts/
    relation "accounts_appuser" does not exist
    LINE 1: SELECT COUNT(*) AS "__count" FROM "accounts_appuser" WHERE "</p>
  </blockquote>
  
  <p>I've delete all <code>.pyc</code> files created migrations again and got the same error. Through the process of trying over and over sometimes migration reports</p>
  
  <blockquote>
    <p>No migrations to apply</p>
  </blockquote>
  
  <p>Im starting to think the problem is from postgre</p>