Opened 12 years ago
Closed 12 years ago
#20736 closed Bug (duplicate)
Uploaded file in previous step form is lost when user navigates to previous page in Django1.4 FormWizard
Description ¶
All other fields retains the user entered data but an uploaded file in the FileField gets lost when user navigates to previous page I tried using SessionWizardView and NamedUrlSessionWizardView.The required field validation fails.If it is a saved instance (instance of FieldFile ) being edited ,then the field remains populated.To me it looked like the storage.current_step is not getting updated with wizard_goto_step and hence the storage.get_step_files is not getting uploaded files for the previous step but the ones for the current step. This issue was also raised at http://stackoverflow.com/questions/10597021/formwizard-and-filefields-django-1-4
Change History (2)
comment:1 by , 12 years ago
Summary: | Uploaded file in previous step form is lost when user navigates to previous page in Django1.4 → Uploaded file in previous step form is lost when user navigates to previous page in Django1.4 FormWizard |
---|
comment:2 by , 12 years ago
Component: | Forms → contrib.formtools |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Seems to be a duplicate of #7808.