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
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],
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
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
4 matches
Mail list logo