title: Saving related with User model objects
body: <p>Why it's not working?</p>
  
  <p>models.py:</p>
  
  <pre><code>class Car(models.Model):
      user = models.OneToOneField(User)
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>def add_car(request, model):
      new_car = Car(owner=request.user.id, model=model)
      new_car.save()
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>ValueError at /add/
  Cannot assign "7L": "Car.user" must be a "User" instance.
  </code></pre>
  
  <p>What is <code>7L</code>?
  My user id is 7, when I write <code>print request.user.id</code> it's get me 7.</p>