te.name.requires = IS_NOT_IN_DB(db, db.state.name)
db.state.name.requires = IS_NOT_EMPTY()
#db.state.country_id.writable = db.state.country_id.readable = False
db.state.country_id.requires = IS_IN_DB(db, db.country.id, '%(name)s')
db.state.namecountryid.requires = IS_NOT_IN_DB(db, db.state.namecountryid)
Last statement does not work.
Please help.
Suresh
)
db.state.fullname.compute = lambda row: str(row.country_id)+row.name
1. db.state.fullname.compute doesnot work at all.
2. if I use Field('full_name',compute=lambda row: row.country_id,
unique=True), for some reason it does *NOT* access country_id properly.
Please Help.
Regards.
The problem is solved. I have to insert state_id with each insert of
record, default doesn't work.
Thank you for the help.
Suresh
On Wednesday, June 13, 2012 7:50:40 PM UTC+5:30, Suresh wrote:
>
> Thank you very much for your reply.
>
> I am attaching the file db.py. I hav
Am new to web2py looking for better IDE support been using spyder for my
other work on windows. Can I continue to use same or need to move to some
other IDE?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://cod
I am trying to zero on web framework for our startup,
requirements
a. Security ( we are working on financial info hence this is important)
b. Good way of accessing algos/data of python Machine learning programs
c. Low cost of hosting and development (a strartup with not much funds :-)
looking
Thank you every one.. I got taste of great community!! very helpful
answers everyone... My confidence in web2py has increased. will make
decision in couple of days and will be frequenter to the group
-Suresh
On Sunday, August 10, 2014 12:13:02 PM UTC+5:30, Suresh Mali wrote:
>
>
6 matches
Mail list logo