Changes between Initial Version and Version 1 of Ticket #34582
- Timestamp:
- May 20, 2023, 2:34:15 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34582
- Property Component Uncategorized → File uploads/storage
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #34582 – Description
initial v1 1 1 2 2 In Version 4.1 of Django, I could upload multiple files using the form codes below. 3 3 {{{ 4 4 class ResumeUpload(forms.ModelForm): 5 5 class Meta: … … 9 9 ‘resumes’: ClearableFileInput(attrs={‘multiple’: True}), 10 10 } 11 11 }}} 12 12 But when I upgraded to version 4.2, the code no longer works, I could not select multiple files for upload. 13 13 14 14 I got a post online that says 'allow_multiple_selected': True, in the code below, should replace ‘multiple’: True as in the code above, but yet it does not work. 15 15 {{{ 16 16 widgets = { 17 17 'file': forms.ClearableFileInput(attrs={'allow_multiple_selected': True}) 18 18 } 19 19 }}} 20 20 Please, is there any other means to upload multiple files? 21 21