1. 22 Oct, 2012 7 commits
  2. 17 Oct, 2012 2 commits
  3. 10 Oct, 2012 2 commits
  4. 08 Oct, 2012 9 commits
  5. 05 Oct, 2012 14 commits
  6. 03 Oct, 2012 4 commits
  7. 02 Oct, 2012 2 commits
    • Serge S. Koval's avatar
      Merge pull request #83 from dmedvinsky/bug/file-upload-edit-form · 4ffb88b3
      Serge S. Koval authored
      Fix file uploads in edit form
      4ffb88b3
    • Dmitry Medvinsky's avatar
      Fix file uploads in edit form · 68592086
      Dmitry Medvinsky authored
      I've removed explicit `request.form` passing to edit form in the form instance
      creation. The reason for this is that if we pass `formdata` to the constructor
      it considers that all the data it needs, whilst `request.form` contains no
      information about uploaded files.
      
      If we simply omit passing `request.form` around, Flask-WTF takes care about
      filling the form with `request.form` as well as `request.files`, if there are
      any.
      
      Hence file uploads now work in the model edit.
      68592086