I\'m trying to create a new object in a CreateView via ModelForm. I want the \'player\' instance to have a image. But the uploaded image doesn\'t get stored to the \'player_
There might be something missing like request.FILES in views.py or enctype="multipart/form-data" in the form.
Look here: https://docs.djangoproject.com/en/1.8/topics/http/file-uploads/
or see this : https://godjango.com/35-upload-files/