Re: No POST data

2007-05-03 Thread Brian Luft
ion: > > def parsedate(request): > > date_from = request.POST['date_from'] > date_from = date_from.split('/') > date_to = "%s%s%s" % (date_from[2], date_from[0], > date_from[1]) > > date_to = request.POST['da

Re: No POST data

2007-05-03 Thread tomass
x27;parsedate'), > ) > > and here's my parsedate function: > > def parsedate(request): > > date_from = request.POST['date_from'] > date_from = date_from.split('/') > date_to = "%s%s%s" % (date_from[2], date_from[0],

Re: No POST data

2007-05-03 Thread Jeremy Dunck
On 5/3/07, tomass <[EMAIL PROTECTED]> wrote: ... > return HttpResponseRedirect('/landscape/logs/%s/%s/' % > (date_from, date_to)) Are you certain 'index' isn't trying to use request.POST? You're redirecting there in 'parsedate'. --~--~-~--~~~---~--~~ You

No POST data

2007-05-03 Thread tomass
return HttpResponseRedirect('/landscape/logs/%s/%s/' % (date_from, date_to)) However, when I try to submit data from this form I get: "Key 'date_from' not found in " Basically telling me there's no