jeanphix / django-resumable

django backend for resumable.js xhr uploads.
61 stars 21 forks source link

how to handle block "if form.is_valid()" ? #8

Open trebiano opened 8 years ago

trebiano commented 8 years ago

Dear jeanphix,

first tnx for sharing your great package.

I was able to make it work on a form in one View of my project Django, but there is a point not really clear to me yet...

I try to expose it briefly: once the ResumableForm has been submitted and the upload has been completed, how can a I get the logic/processing back to the same View containing the form ?

I mean, it seems like the block "if form.is_valid()" (that in a View is commonly located after the form block) is never executed... and this would mean we actually could not set any operations on the uploaded file, immediately after the upload has been completed...

Is this right ? Is there a way to handle this thing ?

Tnx a lot in advance for any helpful tip/suggestion

Kind regards

Fabio P.