[Answered ]-Uploading multiple images with Django

2👍

For this task you should use the inline formsets. Read this docs first for basic understanding of the formsets.

The models in your question are almost valid. Remove the null=True, blank=True arguments from the img field – there is no sense in the Image instances without image itself.

Leave a comment