How form wizard's multiple file upload works in django


I have a problem with form wizard, I have a form wizard with 3 steps. 

In step 2, user uploaded several files. In step 3, send the data to the database.

I can save files in server in step 2, but if user does not finish the form then files will remain on the server for free.Therefore I should not save files in step 2 but at done ()

Unfortunately I cannot reach all files in done () method.

How can I solve it, you have a solution for it

Django Replies 0 Views 57 Users 0

Suggested Topics

Django Updated on April 1, 2020, 9:12 p.m. Replies Views 55

Django Updated on April 6, 2020, 12:50 a.m. Replies Views 43

Django Updated on April 7, 2020, 9:54 p.m. Replies Views 73

Django Updated on April 13, 2020, 11:35 a.m. Replies Views 143