[web2py] crud does not support labels for forms. am i wrong ?

2010-06-15 Thread Sky
as i looked in source code of crud ( tools.py ) you can't change the 'lables' property of SQLForm returned from crud.create or crud.update methods. so I added new parameter to create and update methods of crud to be used in constructing SQLForm. def update( self, table,

[web2py] Re: working with views or stored procedures.

2010-06-15 Thread Sky
Thank you Jose, but I couldn't find out if you used define_table or not? can you drop me a piece of your code? i get 'invalid query' error when i query on my views. thanks . On Jun 14, 4:06 pm, Jose wrote: > I am working with a legacy database and am using many views, so as to > bridging differe

[web2py] Re: working with views or stored procedures.

2010-06-13 Thread Sky
seems DAL does not support views, yes ? On Jun 13, 10:57 am, Sky wrote: > I need to display data from a VIEW ( not table) of database. > can any one help me ? > i used dein_table, am i correct ? > db.define_table("vwparts_inetflowbase", >       SQLField("pyear

[web2py] working with views or stored procedures.

2010-06-12 Thread Sky
I need to display data from a VIEW ( not table) of database. can any one help me ? i used dein_table, am i correct ? db.define_table("vwparts_inetflowbase", SQLField("pyear", "string"), SQLField("pmonth", "string"), SQLField("pday", "string"), SQLField("phour", "string"),

[web2py] Re: how use python 2.6 ?

2010-04-04 Thread Sky
thanks for your help!. it worked ! On Apr 4, 6:11 pm, Vasile Ermicioi wrote: > I use python 2.6 too, > use source distribution instead of windows > onehttp://www.web2py.com/examples/static/web2py_src.zip > it runs without problems on my pc (windows xp) -- You received this message because you

[web2py] how use python 2.6 ?

2010-04-04 Thread Sky
Hi, I've installed Python 2.6 and web2py in my windows. but web2py runs under python 2.5 ( i didn't installed 2.5 ), so my installed site-packages are not available for web2py. any one can help me ? Regards -- You received this message because you are subscribed to the Google Groups "web2py-use

[web2py] web2py.com is down !!?!

2010-03-09 Thread Sky
as I see web2py.com is down since 2 days ago. is there any body to inform the site administrator ??? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, se