Sunday, May 1, 2011

Re: Upload image using GET

On Sun, May 1, 2011 at 11:53 PM, Matias Hernandez Arellano
<msdark@archlinux.cl> 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, not a string

--
Javier

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment