if you're talking about P 145 in the 2nd edition, those are views that is
what is translated, and sent down "the pipe" to the client end (e.g. the
browser);  -S gives you access to the application context, server side
(basically as a controller command line, if you want to think of it that
way);  the -M includes the models (reads the files from your model folders)
into the context.

to have some command line completion, and see things a little better what
-S use -M  will give you for context, you might install ipython (which has
tab-completion; if ipython is installed on your machine, then web2py's -S
will use ipython;)


On Fri, Sep 4, 2009 at 12:39 AM, jayvandal <jayvan...@gmail.com> wrote:

>
> I have python25 and installed the source code in web2py_win folder.
> i run
> python web2py.py -S usa -M
> usa is my application name.
> I have tried several commands and have not had success
> How can I find out what database is being accessed. I thought when I
> named my application I would have access to the database and run the
> commands I your book pages 145 and so on..
>
> Thanks for any help.
> Jim
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to