Opened 7 years ago

Closed 7 years ago

#18291 closed Uncategorized (invalid)

Form wizard does not respect a file field's "upload_to"

Reported by: Martin Bächtold Owned by: nobody
Component: contrib.formtools Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no



  • Form wizard does not respect a file field's "upload_to", all the files are saved in settings.MEDIA_ROOT only


  • A model with a FileField (or ImageField) with "upload_to" pointing to a subfolder of settings.MEDIA_ROOT
  • A model form using the above model
  • A form wizard using the above model form

Change History (1)

comment:1 Changed 7 years ago by Martin Bächtold

Resolution: invalid
Status: newclosed

I completely missed the part about the temporary storage of the files uploaded in the form wizard:

Once the user completes the form wizard, the uploaded file is indeed copied to the folder defined in "upload_to".

Note: See TracTickets for help on using tickets.
Back to Top