I am trying to populate a Django formset using data from a POST/FILE request. I am able to populate all the fields except the FileField. It seems that initial
c
You can not pass initial data to a file field.
The will always be blank when the browser renders it.
To pass request.FILES
to a formset, just specify it as the second argument after POST.
http://docs.djangoproject.com/en/dev/topics/forms/formsets/#using-a-formset-in-views-and-templates
FormSet(request.POST, request.FILES)