Re: request.FILES.getlist()

2020-10-11 Thread Dvs Khamele
ld in form %} > {{ field.label }} {{ field }} > > {% if forloop.counter|divisibleby:"2" %} > > {% endif %} > {% endfor %} > > the view for get the data is very easy: > > def get_data(request): > >

request.FILES.getlist()

2020-10-07 Thread luca72.b...@gmail.com
{% if forloop.counter|divisibleby:"2" %} {% endif %} {% endfor %} the view for get the data is very easy: def get_data(request): art = request.POST.getlist('art_gen') image = request.FILES.getlist('image') the list gener

Re: is it possible to manipulate image in PIL after uploading directly by its "request.FILES.GETLIST(FORMFIELD)" address not the saved picture on hard disk

2016-09-10 Thread ali Eblice
thanks for answering with your help solved the problem if any one get to this problem, here is how i solved it: filelist = request.FILES.getlist('uploadimage') #first get list of your uploaded file object as list for imgfile i

Re: is it possible to manipulate image in PIL after uploading directly by its "request.FILES.GETLIST(FORMFIELD)" address not the saved picture on hard disk

2016-08-26 Thread Asad Jibran Ahmed
Eblice wrote: > Hello Friends > is it possible to manipulate image in PIL after uploading directly by its " > *request.FILES.GETLIST(FORMFIELD)*" address not the saved picture on > hard disk? > > I wrote a function for manipulating but its only working with " >

is it possible to manipulate image in PIL after uploading directly by its "request.FILES.GETLIST(FORMFIELD)" address not the saved picture on hard disk

2016-08-26 Thread ali Eblice
Hello Friends is it possible to manipulate image in PIL after uploading directly by its " *request.FILES.GETLIST(FORMFIELD)*" address not the saved picture on hard disk? I wrote a function for manipulating but its only working with " *Image.open('a.jpg')* "