Answer the question
In order to leave comments, you need to log in
What is the best and most convenient way to multi-upload images?
Hello!
For example, let's take models:
class Article(models.Model):
# Some fields
class ArticleImage(models.Model):
# FK on Article
# ImageField
When creating an Article, it is necessary to have an "Upload photo" button, when clicked, a window opens selecting files, the user selects several images, they are loaded and their previews appear! Also, when editing an Article, you need the user to be able to add and remove photos!
Right now I have the image upload for the post implemented using Formsets, but I want to do it as described above!
How do you do it in your projects, what do you use, because the task is not the rarest?!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question