  
  Basic file uploads
  ==================
  
  Consider a simple form containing a :class:`~django.forms.FileField`::
  
      # In forms.py...
      from django import forms
  
      class UploadFileForm(forms.Form):
 
</s> remove     # In forms.py...
 </s> add  </s> remove something like::
 </s> add something like:

.. snippet::
    :filename: views.py
Consider a simple form containing a :class:`~django.forms.FileField`:

.. snippet::
    :filename: forms.py
  
  Basic file uploads
  ==================
  
Consider a simple form containing a :class:`~django.forms.FileField`:

.. snippet::
    :filename: forms.py
  
      # In forms.py...
      from django import forms
  
      class UploadFileForm(forms.Form):
keep keep keep keep replace keep keep keep keep keep
 Used snippet directive in file upload example. 
docs/topics/http/file-uploads.txt