The source of examples is not a good place for learning.
The page /examples/default/examples is the place for learning.

get_content is not a web2py keyword but it is defined by the
application examples in one of the models.

Massimo

On Nov 16, 3:40 pm, pftpft <[email protected]> wrote:
> I'm new to web2py.  I've scanned thru most of the "book" and have set
> up web2py on our local apache server.  Inside of the 'examples'
> application, I pulled up the default/index.html view and see the line:
>     {{=get_content('maincontent')}}
> I've done various searches and don't see where get_content is
> explained.  It looks like it is pulling in from the private/content/en/
> default/index folder, but why is not obvious.  Where is this covered?
> Thanks.

Reply via email to