title: django auth ldap with custom user model
body: <p>I'm trying to use django auth ldap (v1.1.7) with a custom user model and, while I have everything else taken care of, I still run into a familiar error message that I just don't know how to fix.</p>
  
  <p>Running <code>python manage.py syncdb</code> returns:</p>
  
  <pre><code>CommandError: One or more models did not validate:
  django_auth_ldap.testprofile: 'user' defines a relation with the model 'auth.Use
  r', which has been swapped out. Update the relation to point at settings.AUTH_US
  ER_MODEL.
  </code></pre>
  
  <p>My question here is - where can I find <code>django_auth_ldap.testprofile</code> and update the relation, to fix the issue?</p>
  
  <p>Thanks in advance for helping me out.</p>
  
  <p>L.E.: Ok, after a little googleing, i found out that this testprofile is located in django_auth_ldap/models.py and get this: I searched through <strong>all</strong> of my files and found the file, modified it to point to settings.AUTH_USER_MODEL and still I receive the same error. </p>
  
  <p>Can anyone please help me out with this issue? </p>