can you give an example of the more complex example?

-Thadeus





On Wed, Jan 27, 2010 at 2:20 PM, weheh <[email protected]> wrote:
> I'm a crud newbie. I've read the doc v2 on crud and think I understand
> it. So I tried the following:
>
> #model
> db = DAL('sqlite://storage.sqlite')
> from gluon.tools import *
> crud=Crud(globals(),db)
>
> db.define_table('test',Field('name','string'));
>
> #default.py controller
> def data:  return dict(form=crud())
>
> This works just fine with the various crud actions. But then I tried a
> more complex example and I get the "invalid function" page. I'm not
> sure what this means. Any hints?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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