[web2py] Re: mkdir issue in GAE development

2011-08-12 Thread ram
AE. This works both in the GAE development and production environment Best Ram On Aug 13, 7:35 am, chitram wrote: > Thanks for the quick reply. > > Earlier, I tested my application locally by running ./web2py and it > works fine. All the folders as mentioned in the gluon/admin.py

[web2py] Table creation in GAE

2011-08-13 Thread ram
Is the following statement correct? A Table is created in GAE only when the first record is inserted.

[web2py] Noob question - Choices definition in Field - DAL

2011-08-13 Thread ram
Is it possible to this using DAL, using Field definition? role = db.StringProperty(required=True, choices=set(["executive", "manager", "producer"])) Best regards Ram

[web2py] DAL query - GAE & local

2011-08-16 Thread ram
This following code segment displays the first row from the table in the view correctly when run using ./web2py. It returns None when run in GAE development environment. What's wrong with this code? Controller: def print_status(): row = db().select(db.Statuses.ALL).first() return dict(mes

[web2py] Re: DAL query - GAE & local

2011-08-16 Thread ram
().select(db.Statuses.ALL).first() or 'nothing to see > here' > > On Aug 16, 1:09 pm, ram wrote: > > > > > This  following code segment displays the first row from the table in > > the view correctly when run using ./web2py. It returns None when run > > in G

[web2py] Re: DAL query - GAE & local

2011-08-17 Thread ram
Thanks for clarifying On Aug 17, 8:56 pm, howesc wrote: > note that standalone web2py defaults to sqlite storage, GAE development > environment uses a GAE emulation of big-table, so data added when running > standalone will not be available in GAE dev env and vice versa. > > cfh

[web2py] Integer representation in mySQL

2011-08-17 Thread ram
or update the Field type in MySQL. Since I encountered this problem, I thought I will bring this to the notice of everyone Is there a way to define BIGINT in DAL? Thanks Best Ram

[web2py] new web toolkit inside click here

2010-10-14 Thread praba Ram
http://123maza.com/35/build415/