Setting FileField from UploadedFile

Looks like I missed something there too. From that doc, the manual way to do it seems to be:

instance = ModelWithFileField(file_field=request.FILES['file'])
instance.save()

Thanks for the hint. It’s what I wanted to know, although using a ModelForm is even easier than doing it manually.