form = self.form_class(request.POST, request.FILES) It bounds files to form.