do you have a views file titled "next.html" in views/default/ folder?


On Feb 15, 1:57 pm, ralmaraz <[email protected]> wrote:
> Look I´m using this code to create the fibonacci numbers:
>
> def index():
>
> form=SQLFORM.factory(Field('numero','integer',requires=IS_INT_IN_RANGE(1,10 
> 0))).process()
>     if form.accepted: redirect(URL('next',args=form.vars.numero))
>     return locals()
>
> def fib(n):
>     r = [0]
>     if n>0: r.append(1)
>     for k in range(1,n):
>         r.append(r[-1]+r[-2])
>     return r
>
> def next():
>     try: numero = int(request.args(0))
>     except: redirect(URL('index'))
>     table = TABLE(*fib(numero))
>     return locals()
>
> In localhost works great....but when Ive uploaded to GAE...go here an
> enter an integer:http://rad-dev.appspot.com
>
> regards

Reply via email to