title: Django: invalid keyword argument for this function
body: <p>I want to insert some data into a many to many field. I 'm getting this Error </p>
  
  <blockquote>
    <p>user is an invalid keyword argument for this function</p>
  </blockquote>
  
  <p>i also tried it with the relatedName...but still is not working...</p>
  
  <p>My model looks like this:</p>
  
  <p>models.py</p>
  
  <pre><code>class Workspace(models.Model):
      user = models.ManyToManyField(User,null=False, blank=False, related_name='members')
      workspace_name = models.CharField(max_length=80, null=False, blank=False)
      workspace_cat =models.CharField(max_length=80, null=True, blank=True)
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>db= Workspace(user=5, workspace_name=data_to_db['workspace_name'],workspace_cat=data_to_db['workspace_category'])
  db.save()
  </code></pre>
  
  <p>Does somebody has an idea? Thanks a lot!</p>