Re: Upload image using GET

2011-05-01 Thread Javier Guerra Giraldez
On Sun, May 1, 2011 at 11:53 PM, Matias Hernandez Arellano wrote: > i only use this to test > def upload_image(request): >    if request.method == 'POST': >        return "request.FILES['image']" >    return "NO imagen subida" is this your view function? if so, it should return a response object

Re: Upload image using GET

2011-05-01 Thread Matias Hernandez Arellano
yes, thanks.. i try using POST but i get a error 500 i only use this to test def upload_image(request): if request.method == 'POST': return "request.FILES['image']" return "NO imagen subida" El 01-05-2011, a las 23:11, А. Р. escribió: > 2011/5/2 Matias Hernandez Arellano <...@ar

Re: Upload image using GET

2011-05-01 Thread А . Р .
2011/5/2 Matias Hernandez Arellano <...@archlinux.cl>: > > And if it's not possible use GET to pass the image data to the django > application.. > how can i pass de data from a mobile application (without user actions like a > web form) to the django application, and upload, or copy de data into

Re: Upload image using GET

2011-05-01 Thread Matias Hernandez Arellano
Thrift: http://incubator.apache.org/thrift/ And if it's not possible use GET to pass the image data to the django application.. how can i pass de data from a mobile application (without user actions like a web form) to the django application, and upload, or copy de data into a new image?? Than

Re: Upload image using GET

2011-05-01 Thread А . Р .
2011/5/2 msdark <...@gmail.com>: > The service is written in C++ and use thrift to create a Client with > python.. so i write a simple django application like and interface to > the C++ service. What is "thrift"? Do you really mean it? > > Now i need to upload an image to the django application

Upload image using GET

2011-05-01 Thread msdark
(sorry for my english) Hi!, i have a mobile application (iOS and Android), this applciation need to upload an image (internally) to a service . The service is written in C++ and use thrift to create a Client with python.. so i write a simple django application like and interface to the C++ servic