This is how exactly you could solve it. Multiple FIle Upload 
<https://stackoverflow.com/a/60961015/7857541>

On Monday, September 26, 2011 at 7:32:51 PM UTC+5:30, NavaTux wrote:
>
> Hi all, 
>
>        I have a filed(ImageField) in my model.Also I want to have 
> multiple ImageFields.How to have more than one ImageFields only in 
> django model.Is there any need to derive that ImageField as a seperate 
> new model which holds as a foreign key of another one? 
>
> This is my model: 
>
> class Report(models.Model): 
>     name = models.CharField(max_length=1024) 
>     data = models.TextField() 
>     image = models.ImageField(upload_to=settings.IMAGE_UPLOAD_PATH, 
> blank=True, null=True) 
>
> I need to display atleast 4 imagefields for this model object? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/34bcc2f5-0a5e-4aff-85b2-78fb7cdc0c10%40googlegroups.com.

Reply via email to