title: Django can't upload multiple files and request.FILES seems empty
body: <p>I'm using django 2.0 and python 3.6, I've tried almost everything to get the values from request.FILES but nothing seems to work, I think that I'm missing something very simple but I can't find it.</p>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class Imagen(models.Model):
  imagen = models.FileField(max_length=200, blank=True, upload_to='%Y/%m/%d/')
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>def prop_add(request):
    if request.method == 'POST':
      propiedad_instance = Propiedad(tipo = request.POST.get('tipo'), tamano=request.POST.get('tamano'), habitaciones = request.POST.get('habitaciones'), banos = request.POST.get('banos'), descripcion= request.POST.get('descripcion'), direccion= request.POST.GET('descripcion'), precio= request.POST.get('precio'), ubicacion= Ubicacion.objects.get(barrio= request.POST.get('barrio')))  
      propiedad_intance.save()
      for filename in request.FILES.iteritems():
          name = request.FILES[filename].name
          print('name =' + name)  ## &lt;-- not printing anything
          print('file = ' +  file)## &lt;-- not printing anything
          print('filename = ' + filename)## &lt;-- not printing anything
    ubicaciones = Ubicacion.objects.all()
    ctx = {'ubicaciones': ubicaciones}
    return render(request, 'main/add_modal.html', ctx)
  </code></pre>
  
  <p><strong>HTML template</strong></p>
  
  <pre><code>&lt;form method='post' action=''  enctype="multipart/form-data"&gt;
     &lt;input name='imagen' type="file" multiple/&gt;
     &lt;button type='submit' class="btn waves-effect"&gt;Upload&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>that views.py is the one that I have right now but so far I've tried all the following variants:</p>
  
  <pre><code>**1**
  if request.method == 'POST':
    for f in request.FILES.getlist('imagen'):
      filename = f.name
      print(filename) ## &lt;-- not printing anything
  
  **2**
  if request.method== 'POST':
    form = FileUploadForm(request.POST, request.FILES) ## form imported from forms.py
    if form.is_valid():
       print('form is valid!') ## &lt;-- not printing anything
    else:
       print('form not valid ') ## &lt;-- not printing anything either!! IDK WHY
  **3**
  if request.method == 'POST':
    print('request.method = "POST" checked ') # &lt;-- Not priting anything! but the model below is being saved to the database! my brain is about to explode right now haha.
    propiedad_instance = Propiedad(tipo = request.POST.get('tipo'), tamano=request.POST.get('tamano'), habitaciones = request.POST.get('habitaciones'), banos = request.POST.get('banos'), descripcion= request.POST.get('descripcion'), direccion= request.POST.GET('descripcion'), precio= request.POST.get('precio'), ubicacion= Ubicacion.objects.get(barrio= request.POST.get('barrio')))    
    propiedad_intance.save()
    files = request.FILES.getlist('imagen')
      if files:
          for f in files:
              print('something') #&lt;-- not printing anything
              print(f) #&lt;-- not printing anything
              print(f.name) &lt;-- not printing anything
      else:
          print('nothing here') #&lt;--- not printing anything   
  </code></pre>
  
  <p><strong>Console log after submitting the form</strong>
  <a href="https://i.stack.imgur.com/dNqMt.png" rel="nofollow noreferrer">enter image description here</a></p>