[Django]-Django: can't bind an uploaded image to a form ImageField()

1👍

Im not sure about this, but according to the django documentation, on binding forms, the data and files are not kwargs, but are args, so try this:

form = SettingsForm(data, files)

Leave a comment