title: Django: Model name clash
body: <p>I am trying to use different open source apps in my project. Problem is that there is a same Model name used by two different apps with their own model definition. </p>
  
  <p>I tried using:</p>
  
  <pre><code>    class Meta:
          db_table = "db_name"
  </code></pre>
  
  <p>but it didn't work. I am still getting field name clash error at syncdb. Any suggestions.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I am actually trying to integrate Satchmo with Pinax. And the error is:</p>
  
  <blockquote>
    <p>Error: One or more models did not validate:</p>
    
    <p>contact.contact: Accessor for field 'user' clashes with related m2m field 'User.contact_set'. Add a related_name argument to the definition for 'user'.</p>
    
    <p>friends.contact: Accessor for m2m field 'users' clashes with related field User.contact_set'. Add a related_name argument to the definition for 'users'.</p>
  </blockquote>
  
  <p>You are right, table names are already unique. I analyzed the model and the Model 'Contact' is in two models of two different apps. When I comment out one of these models, it works fine. </p>
  
  <p>May be the error is there because both apps are in PYTHON_PATH and when other app defines the its model with same name the clash occurs.</p>