Hi Kevin -

Welcome!

I'll take a shot at some of this:  you can load your app as default by
calling it "init";

If there is no "init" app, then web2py tries to find a "welcome" app.

You can see this in gluon/main.py.

You can search for many-to-many in the forums....  as well as see
examples in http://mdp.cti.depaul.edu/examples/default/orm

If you still have trouble with your table references - be sure that
the referenced table is defined first.  If you still have trouble,
post a snippet of your code here.

Kind regards,
Yarko

On Oct 7, 3:43 pm, kev <[EMAIL PROTECTED]> wrote:
> Hello,
> So far i must say i am pleased with web2py. It makes web development
> much easier and faster.
>
> I was wondering a few things.
>
> How do you do model associations like one to one, one to many and many
> to many? I did db.person to connect a field to person table but i get
> an error message (too small / big). How do i change that?
>
> How well does web2py handle security? Is that anything i should
> consider doing before display data from database / inserting in
> database? (i believe orm handles escaping for you and templates escape
> html from data but is there anything else)?
>
> Also one last thing, i am using web2py on app engine and it works
> fine. But my app is inside applications directory, so i have to do
> localhost:8080/myAPP. First, do i need to transfer the entire web2py
> directory to google (b/c they have file limit and was just wondering)
> and second, if so, how do i make it so i can visit localhost:8080 and
> it loads myAPP instead of welcome?
>
> I come from codeigniter (php) and so im not too used to python. But
> this is one of the best frameworks i found.
>
> Thanks,
> Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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