On Jan 28, 11:49 am, murray3 <[email protected]> wrote:
> I am trying out T2 but got following errors when tried to run, help
> appreciated.
> in create_fabservice
> KeyError: 'fabservice'
> In file: C:\APPS\web2py\applications\fabmonger/controllers/default.py
> def create_fabservice():
>     form=t2.create(db.fabservice)
>     itemize=t2.itemize(db.fabservice)
>     return dict(form=form,itemize=itemize)

What is your model definition of db.fabservice?

> def display_fabservice():
>    fabservice=t2.display(db.fabservice)
>    search=t2.search(db.fabservice)
>    return dict(fabservicebservice,search=search)

Seems to be a typo here?

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to