title: Django modelForm is not saving file to DB
body: <p>Django 2.0
  Python 3.6</p>
  
  <p>I am having trouble with a Django form that is not saving the file that is selected through the form; whenever you select a file to upload, I receive the message "This Field is Required.".</p>
  
  <p>I placed a <code>blank=True</code> and a <code>null=True</code> in the Model FileField to get rid of the same, but whenever I attempt to load the html, I get this error: "The 'copydoc' attirbute has no file associated with it."</p>
  
  <p>I would like for a user to be able to log in, create an entry and upload a file along with said entry. Why doesn't the DB accept the file from the form?</p>
  
  <p>Thank you.</p>
  
  <p>views.py:</p>
  
  <pre><code>from django.shortcuts import render, redirect
  from .models import notarizer, CustomUser, notarizerCreateForm
  # from .forms import notarizerCreateForm
  # Create your views here.
  
  def home(request):
      t = 'home.html'
      return render(request, t)
  
  
  def page1(request):
      t = 'log1/page1.html'
      if request.user.is_authenticated:
          logger = notarizer.objects.filter(userziptie=request.user).order_by('-date')
          return render(request, t, {'logger': logger})
      else:
          return redirect(home)
  
  
  def create_entry(request):
      createPath = 'log1/create_entry.html'
      if request.method == 'POST':
          if request.method == 'FILES':
              form = notarizerCreateForm(request.POST, request.FILES)
              if form.is_valid():
                  instance =notarizerCreateForm(
                                                file_field=request.FILES['file']
                                                ) 
                  instance.save()
              else:
                  print(form.errors)
          else:
              form = notarizerCreateForm(request.POST)
              if form.is_valid():
                  form.save()
              else:
                  print(form.errors)
      else:
          form = notarizerCreateForm()
      return render(request, createPath, {'form': form})
  </code></pre>
  
  <p>create_entry.html:</p>
  
  <pre><code>{% extends "base.html" %}
  {% block placeholder1 %}
  &lt;div class="form-holder"&gt;
    &lt;form name="form" enctype="multipart/form-data" method="POST" 
      action="/create_entry/" &gt;
      {% csrf_token %}
        {{ form.as_table }}
       &lt;input type="submit"/&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  {% endblock %}
  </code></pre>
  
  <p>models.py:</p>
  
  <pre><code>from django.db import models
  from users.models import CustomUser
  from django.forms import ModelForm
  
  # Create your models here.
  
  class notarizer(models.Model):
      date = models.DateField(auto_now_add=True)
      docName = models.CharField(max_length=25, null=False)
      describe = models.TextField(max_length=280)
      signee = models.CharField(max_length=25, null=False)
      signeeDets = models.TextField(max_length=280)
      copydoc = models.FileField(upload_to='users/', blank=True, null=True)
      userziptie = models.ForeignKey('users.CustomUser', 
  on_delete=models.DO_NOTHING, null=True)
  
  
      def __str__(self):
          return "{0}\n{1}\n{2}\n{3}\n{4}\n{5}\n{6}".format(
                                                              self.pk,
                                                              self.date,
                                                              self.docName,
                                                              self.describe,
                                                              self.signee,
                                                              self.signeeDets,
                                                              self.userziptie
                                                              )
  
  
  class notarizerCreateForm(ModelForm):
      class Meta:
          model = notarizer
          fields = ['docName','describe','signee','signeeDets', 'copydoc']
  </code></pre>