title: Uploading Multiple Types of Files using Django Jquery File Upload
body: <p>When searching for django jquery uploading library, I came across this one.
  <a href="https://github.com/Alem/django-jfu" rel="nofollow">https://github.com/Alem/django-jfu</a></p>
  
  <p>It seems to be very neat and useful. So, I decided to give it a shot and started to read the demo code. However, the highlighted line of code is hard to understand. It is in the file demo/photos/views.py</p>
  
  <pre><code>class Home( generic.TemplateView ):
      template_name = 'base.html'
  
      def get_context_data(self, **kwargs):
          context = super( Home, self ).get_context_data( **kwargs )
          **context['accepted_mime_types'] = ['image/*']**
          return context
  </code></pre>
  
  <p>If I want to configure it to be able to upload both pictures (.jpg, .png, etc.) and .pdf files. How shall the highlighted line be modified? I guess it is this one
  context['accepted_mime_types'] = ['image/* text/plain']</p>
  
  <p>Is this correct?</p>
  
  <p>On the other hand, the photo_upload_form.html shall be changed FROM</p>
  
  <pre><code>{% block JS_OPTS %}
  sequentialUploads: true,
  acceptFileTypes: /(\.|\/)(png|gif|jpe?g)$/i
  {% endblock %}
  </code></pre>
  
  <p>TO</p>
  
  <pre><code>{% block JS_OPTS %}
  sequentialUploads: true,
  acceptFileTypes: /(\.|\/)(png|gif|jpe?g|pdf)$/i
  {% endblock %}
  </code></pre>
  
  <p>I added the pdf extension at the end.</p>
  
  <p>In all, I could not find any django documentation explaining all possible content_type values such as 'json/application', 'image/*', 'text/plain'. What are other possible values?</p>