title: Django: How to upload an image to MEDIA_ROOT upon Model Creation
body: <p>I have the following model with an <code>ImageField()</code> that extends <code>User</code>:</p>
  
  <pre><code>class Tenant(models.Model):
     user = models.OneToOneField(User)
     photo = models.ImageField()
     apartment = models.ForeignKey('Apartment')
  </code></pre>
  
  <p>However, when I create the model from a form, the image does not save to my MEDIA_ROOT directory. This seems like very basic functionality but I can't find a straightforward answer anywhere.</p>
  
  <p>When I create a User in the admin section the file saves but not when I create it with my form. What do I do?</p>