I still get Invalid function I don`t know what i have to do that this will work
On 12 Jun., 18:22, mdipierro <[email protected]> wrote: > try: > > def select(): return crud.select() > > http://127.0.0.1:8000/[app]/default/select/[tablename]/whatever.xml > > this should work although it is "experimental" because it is using a > default serializer on your own data. You would have do define your own > serializer. > > Massimo > > On Jun 12, 8:56 am, pk <[email protected]> wrote: > > > but i get an empty page if i > > tryhttp://127.0.0.1:8000/2busy/default/data/project/select.xml > > > here the code in my model: > > from gluon.tools import Mail, Auth, Crud, Service # new in web2py > > 1.56 > > service = Service(globals()) > > > crud = Crud(globals(),db) > > > def data(): return crud() > > > On 12 Jun., 15:40, DenesL <[email protected]> wrote: > > > > See example in cookbook2 slide 50. > > > > Cookbook2:http://groups.google.com/group/web2py/msg/fcd6aa1687410501 > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

