Hallo Alec,

Welcome to Web2py!


I've just come from the world of Django to web2py in order to leverage
> PySimpleSOAP integration for APIs alongside your JSON, XMLRPC and RESTful
> XML support.
>
> So I began going through your docs, noted a few problems (typos and the
> like) here and there, but mostly clear sailing. (great work BTW!)
>
> However when going through the CRUD 
> example<http://web2py.com/books/default/chapter/29/3>from chapter 29, I found 
> some problems.
>
>
It is not quit clear to which example you refer.


> Importantly, this 
> image<http://web2py.com/books/static/books/29/document.source.8a1722c759375c63.656e333230302e706e67.png>isn't
>  what I received from the same code. Specifically I didn't get the
> comments table integration.
>
> Unless there is some magic going on behind the scenes, I'm not sure how
> this would be integrated from this code:
>
> def manage():
>     grid = SQLFORM.smartgrid(db.image)
>     return dict(grid=grid)
>
> What do you get when you try this?

The 'def manage()' example in the book is a generic function that can be
used to browse/update any table.  It can be used with an url like this:
http://127.0.0.1:8000/init/default/manage/people  where 'people' would be
the name of the table.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to