title: FileUpload with Django
body: <p>I'm using the <a href="http://valums.com/ajax-upload/" rel="noreferrer">ajax-upload</a> code to do a simple AJAX file upload. The issue I'm coming across is the file isn't showing up on the backend after submitting.</p>
  
  <p>The frontend code is pretty basic:</p>
  
  <pre><code>&lt;div id="image_uploader"&gt;Upload More Images&lt;/div&gt;
  &lt;script type="text/javascript" charset="utf-8"&gt;
      function createUploader(){            
          var uploader = new qq.FileUploader({
              element: document.getElementById('image_uploader'),
              action: '/add/image/1',
              debug: true,
              onSubmit : function () {
                  progress.show();
              },
              onComplete : function () {
                  progress.hide();
              },
              onCancel : function () {
                  progress.hide();
              },
          });           
      };
  
      createUploader();
  &lt;/script&gt;
  </code></pre>
  
  <p>The backend code (currently in progress) is also pretty basic:</p>
  
  <pre><code>def add_image(request, id):
      print request
      if request.FILES:
          return HttpResponse("{success:true}")
      else:
          return HttpResponse("{success:false, message:'Unable to find FILES}")
  </code></pre>