title: Django many to many relationship with built in "User" model
body: <h2>Scenario</h2>
  
  <p>I have a basic Django app in which users (django's authentication built in model) and reports have a many-to-many relationship.</p>
  
  <h2>The Problem</h2>
  
  <p>Django does not create a corresponding table to handle this relationship. My application is called <code>reports</code>. There is an error in the admin system upon trying to create a <code>report</code> and assign users to it. It tries to query the table <code>reports_report_users</code> and it fails as it does not exist.</p>
  
  <h2>models.py code</h2>
  
  <pre><code> from django.db import models
   from django.contrib.auth.models import User
   class Report(models.Model):
       name = models.CharField(max_length=30, blank=False)
       users = models.ManyToManyField(User, related_name='reports')
       def __unicode__(self):
           return self.name
  </code></pre>
  
  <h2>Attempted Solutions</h2>
  
  <ol>
  <li>Used this link as a reference: <a href="https://docs.djangoproject.com/en/1.4/topics/db/examples/many_to_many/" rel="nofollow noreferrer">https://docs.djangoproject.com/en/1.4/topics/db/examples/many_to_many/</a></li>
  <li>Ran <code>manage.py syncdb</code> about 300 times - ok, only once, but there were no errors and upon inspecting the SQLite db there were no additional tables created :(</li>
  </ol>