Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-09 Thread Joseph Wayodi
Post your code here, and someone will help you figure out why it does
not work like you expect.

On Sat, 9 Jan 2021 at 22:07, Chelsea Fan  wrote:
>
> I tried it, it works but it saves last file twice, for example if I upload 2 
> file it saves 3
>
> On Sat, Jan 9, 2021 at 7:53 PM Joseph Wayodi  wrote:
>>
>> The Django docs show how to do this:
>> .
>>
>> On Thu, 7 Jan 2021 at 15:24, Chelsea Fan  
>> wrote:
>> >
>> >
>> > --
>> > 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/CAJwZndca8SC7ifBzyW4ut%3DJXy-2E3RPPvq2tHrpCyxyqABQnzw%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAOXm%2Bp8tF1Zpt1gmFH%3DTc6fin3ijf%2B3kDrc9j_yRR2ZBbxVfSA%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAJwZndefeU5b4a9J_JjyMpTHyr-dwQ5GCs-7eJf0Kvf3qdjUFQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOXm%2Bp8W8jtHYSB2dW5rHo1NmdPGH3xB4b_opJ-0BH%2B%2BR6YS8Q%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-09 Thread Chelsea Fan
I tried it, it works but it saves last file twice, for example if I upload
2 file it saves 3

On Sat, Jan 9, 2021 at 7:53 PM Joseph Wayodi  wrote:

> The Django docs show how to do this:
> <
> https://docs.djangoproject.com/en/3.1/topics/http/file-uploads/#uploading-multiple-files
> >.
>
> On Thu, 7 Jan 2021 at 15:24, Chelsea Fan 
> wrote:
> >
> >
> > --
> > 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/CAJwZndca8SC7ifBzyW4ut%3DJXy-2E3RPPvq2tHrpCyxyqABQnzw%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOXm%2Bp8tF1Zpt1gmFH%3DTc6fin3ijf%2B3kDrc9j_yRR2ZBbxVfSA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJwZndefeU5b4a9J_JjyMpTHyr-dwQ5GCs-7eJf0Kvf3qdjUFQ%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-09 Thread Joseph Wayodi
The Django docs show how to do this:
.

On Thu, 7 Jan 2021 at 15:24, Chelsea Fan  wrote:
>
>
> --
> 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/CAJwZndca8SC7ifBzyW4ut%3DJXy-2E3RPPvq2tHrpCyxyqABQnzw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOXm%2Bp8tF1Zpt1gmFH%3DTc6fin3ijf%2B3kDrc9j_yRR2ZBbxVfSA%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-08 Thread Chelsea Fan
server rendering

On Fri, Jan 8, 2021 at 5:23 PM Satyajit Barik 
wrote:

> do you use API or server side rendering method?
>
> On Fri, Jan 8, 2021 at 1:34 PM Chelsea Fan 
> wrote:
>
>> yes I am using FileField and trying upload and to save it
>>
>>
>> On Thu, Jan 7, 2021 at 4:09 PM Steven Mapes 
>> wrote:
>>
>>> Within Django Admin or somewhere else?
>>> Are you using FileFields and trying to save to the models or are you
>>> just trying to POST multiple files?
>>>
>>> On Thursday, 7 January 2021 at 12:25:10 UTC allaberdi...@gmail.com
>>> wrote:
>>>
 --
>>> 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/ba3a4c6a-0788-457f-8e7d-576d612a7f61n%40googlegroups.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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJwZnde38EREC%3DhrYAfGLP4QKvPD-OwC_aJb6W1-o1n6GTDrBg%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANd-%2BoCvYOnwxPj7rM5kdZWQtERSufab7jTwgBxqgbD2-j0%2BVw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJwZndfoNtZbsHrqvy7R1tG2Q8mwK8BtCushL2b_5M0c%2B%3DMTng%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-08 Thread Satyajit Barik
do you use API or server side rendering method?

On Fri, Jan 8, 2021 at 1:34 PM Chelsea Fan 
wrote:

> yes I am using FileField and trying upload and to save it
>
>
> On Thu, Jan 7, 2021 at 4:09 PM Steven Mapes 
> wrote:
>
>> Within Django Admin or somewhere else?
>> Are you using FileFields and trying to save to the models or are you just
>> trying to POST multiple files?
>>
>> On Thursday, 7 January 2021 at 12:25:10 UTC allaberdi...@gmail.com wrote:
>>
>>> --
>> 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/ba3a4c6a-0788-457f-8e7d-576d612a7f61n%40googlegroups.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJwZnde38EREC%3DhrYAfGLP4QKvPD-OwC_aJb6W1-o1n6GTDrBg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANd-%2BoCvYOnwxPj7rM5kdZWQtERSufab7jTwgBxqgbD2-j0%2BVw%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-08 Thread Chelsea Fan
yes I am using FileField and trying upload and to save it


On Thu, Jan 7, 2021 at 4:09 PM Steven Mapes  wrote:

> Within Django Admin or somewhere else?
> Are you using FileFields and trying to save to the models or are you just
> trying to POST multiple files?
>
> On Thursday, 7 January 2021 at 12:25:10 UTC allaberdi...@gmail.com wrote:
>
>> --
> 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/ba3a4c6a-0788-457f-8e7d-576d612a7f61n%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJwZnde38EREC%3DhrYAfGLP4QKvPD-OwC_aJb6W1-o1n6GTDrBg%40mail.gmail.com.


Re: hello guys, how can I upload multiple images using single button? help me please

2021-01-07 Thread Steven Mapes
Within Django Admin or somewhere else?
Are you using FileFields and trying to save to the models or are you just 
trying to POST multiple files?

On Thursday, 7 January 2021 at 12:25:10 UTC allaberdi...@gmail.com wrote:

>

-- 
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/ba3a4c6a-0788-457f-8e7d-576d612a7f61n%40googlegroups.com.


hello guys, how can I upload multiple images using single button? help me please

2021-01-07 Thread Chelsea Fan


-- 
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/CAJwZndca8SC7ifBzyW4ut%3DJXy-2E3RPPvq2tHrpCyxyqABQnzw%40mail.gmail.com.