DEV Community

Discussion on: Django inline formsets with Class-based views and crispy forms

Collapse
 
dantgo profile image
Daniel Gore

Thanks again for this.

I have a FileField as part of my Formset, which when added to the ModelForm is displayed correctly and allows for file selection, but when saved, the file is not uploaded to the model. I think this is something todo with 'request.FILES' not existing in the View I'm just not sure how to rewrite it to include it.

Can anyone help?