Re: request.POST.get is not working

2008-10-07 Thread theaellen
Hope you have solved this problem already. I ran into a similar problem today while trying to use something like task = request.POST.get('task') which I thought should work since it worked for GET. I have a large list to pass back and GET did not have enough room. I ended up doing something li

Re: request.POST.get is not working

2008-09-11 Thread David Reynolds
On Sep 10, 11:25 am, bharathi <[EMAIL PROTECTED]> wrote: > Hi, >   I am using Django1.0 >   In this request.POST.get() is not Working..It Gives empty value > >   My Views is: > >  def addtask(request): >    r=HttpResponse() >         if request.method

Re: request.POST.get is not working

2008-09-10 Thread LaundroMat
On Sep 10, 1:50 pm, bharathi <[EMAIL PROTECTED]> wrote: > Hi LaundroMat, > >     I tried request.POST['task'] .. But that also not working.. >    It shows >    " MultiValueDictKeyError at /addtask/ >    "Key 'task' not found in "" > >  Wat i do now? > Help me Well, this means req

Re: request.POST.get is not working

2008-09-10 Thread bharathi
Mat <[EMAIL PROTECTED]> wrote: > On Sep 10, 12:25 pm, bharathi <[EMAIL PROTECTED]> wrote: > > > Hi, > >   I am using Django1.0 > >   In this request.POST.get() is not Working..It Gives empty value > > (snip) > > What about request.POST['task

Re: request.POST.get is not working

2008-09-10 Thread LaundroMat
On Sep 10, 12:25 pm, bharathi <[EMAIL PROTECTED]> wrote: > Hi, >   I am using Django1.0 >   In this request.POST.get() is not Working..It Gives empty value > (snip) What about request.POST['task']? --~--~-~--~~~---~--~~ You received

request.POST.get is not working

2008-09-10 Thread bharathi
Hi, I am using Django1.0 In this request.POST.get() is not Working..It Gives empty value My Views is: def addtask(request): r=HttpResponse() if request.method == 'POST': task = request.POST.get('task') a =

request.POST.get is not working

2008-09-10 Thread bharathi
Hi, I am using Django1.0 In this request.POST.get() is not Working..It Gives empty value My Views is: def addtask(request): r=HttpResponse() if request.method == 'POST': task = request.REQUEST.get('task') a =