Answer the question
In order to leave comments, you need to log in
How to upload multiple images at once in Django?
Hello,
class Page(models.Model):
page_slug = models.SlugFiekd()
page_img = models.ImageField(upload_to='/img')
class Charpters(models.Model):
charpter_name = models.CharField(max_length=50)
charpter_slug = models.SlugField()
charpter_page = models.ManyToManyField(Page)
class Manga(models.Model):
manga_name = models.CharField(max_length=50)
manga_slug = models.SlugField()
manga_charpters = models.ManyToManyField(Charpters)
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