Monday, July 29, 2019

Re:

My mistake.

I thuought that OP was asking about uploading and storing multiple files to model.

First part (uploading) is easy since docs do cover that.

Second part is tricky since it requires data structure capable of storing multiple files and there are so many ways to do that.



ma 29. heinäk. 2019 klo 18.22 Aldian Fazrihady <mobile@aldian.net> kirjoitti:
Multiple file uploads already there for many years. The link I shared above show you how to do that the Django way. 

Regards,

Aldian Fazrihady
http://aldianfazrihady.com

On Mon, 29 Jul 2019, 21:52 Jani Tiainen, <redetin@gmail.com> wrote:
Hi.

TL; DR; you can't.

You though can upload multiple files just fine you just need to handle them manually.

Also if you plan to keep files around your models must enable that.


ma 29. heinäk. 2019 klo 15.48 Suraj Thapa FC <surajthapafc@gmail.com> kirjoitti:
How can I create a file field which one can upload Multiple files in it... 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPjsHcE%2BMSVGHiQ0bx4z_2pxMMiE57FD44kFn4hE%3DsSLaj66kw%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91of_AD_METU8A3J4qhHo_E93Qd4hJyS73uRQh43GpRsAgg%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7EoAYAh%2Bou8fyzcBhyHn25SDx7%3D3Vw%2BY7OGY2%2B%3D3fjk-C0kg%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91odErG3F4HGUCBFFh6oQdmg3CEDC2N3gCLNUUeUPrm1bbw%40mail.gmail.com.

No comments:

Post a Comment