[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-07 Thread Ron Chatterjee
I use 2.7.6 from canopy. I will b okay.I think... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Help deleting a row when using components LOAD

2015-03-07 Thread Ron Chatterjee
U can use the dictionary (or table) as a list n use regular python syntex for list. Like li =['a', 'b']; n then do li.remove ('a'). Ur table a dictionary in python. Db (table.field) r dictionaries. But, u can use [] to make it a list I belive or use select method a pass as a set n then remove.

Re: [web2py] Re: two (or more) applications using the same database

2015-03-07 Thread Ron Chatterjee
On the same note,...does anyone know if DAL object can b converted into xml like the sql designer did? I know web2py no longer probably support sql designer but if there is a way to convert web2py models into xml then if someone needs to use mysql or other database or use different framework lik

Re: [web2py] Re: two (or more) applications using the same database

2015-03-07 Thread Ron Chatterjee
On the same note,...does anyone know if DAL object can b converted into xml like the sql designer did? I know web2py no longer probably support sql designer but if there is a way to convert web2py models into xml then if someone needs to use mysql or other database or use different framework lik

Re: [web2py] Re: two (or more) applications using the same database

2015-03-07 Thread Ron Chatterjee
On the same note,...does anyone know if DAL object can b converted into xml like the sql designer did? I know web2py no longer probably support sql designer but if there is a way to convert web2py models into xml then if someone needs to use mysql or other database or use different framework lik

Re: [web2py] Re: two (or more) applications using the same database

2015-03-07 Thread Ron Chatterjee
On the same note,...does anyone know if DAL object can b converted into xml like the sql designer did? I know web2py no longer probably support sql designer but if there is a way to convert web2py models into xml then if someone needs to use mysql or other database or use different framework lik

Re: [web2py] Re: two (or more) applications using the same database

2015-03-07 Thread Ron Chatterjee
On the same note,...does anyone know if DAL object can b converted into xml like the sql designer did? I know web2py no longer probably support sql designer but if there is a way to convert web2py models into xml then if someone needs to use mysql or other database or use different framework lik

[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-07 Thread Niphlod
well, binaries ship their own python interpreter so they're out of the picture. Dropping 2.5 support means that if anyone is running web2py source with a python 2.5 interpreter would not work. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2p

[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-07 Thread Joe Barnhart
If I understand Massimo correctly, he is saying that the latest version of web2py will not be guaranteed to run on Python 2.5 *regardless* of whether you are using packaged binaries or source version. *It just won't be guaranteed to run on 2.5 no matter what.* It's not a problem with my site.

[web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-07 Thread Ron Chatterjee
I use the source code version. So it doesn't really matter for me. On Saturday, March 7, 2015 at 2:18:17 PM UTC-5, Massimo Di Pierro wrote: > > Who is opposed? Why? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - http

Re: [web2py] Re: sqlformfactory smartgrid just search field

2015-03-07 Thread Ron Chatterjee
Another way to do it is crud .search (db.table, query) On Mar 6, 2015 10:57 AM, "Leonel Câmara" wrote: > It's not that this isn't possible, it's just that it doesn't make much > sense to use smartgrid if all you want is a searchbox. > > Anyway... Here's how you can do it. I don't recommend pe

[web2py] Re: How to create a searchbox for my web page

2015-03-07 Thread Ron Chatterjee
There is another way to do it: results = crud.search(dbOBJECT.news, queries= ['equals','contains']) But that will print out all the tables. There are lot of ways to do this but the best is to use the query and output to a table, make it look nice and then display. On Saturday, March 7, 2015

[web2py] IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-07 Thread Massimo Di Pierro
Who is opposed? Why? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-us

[web2py] Re: How to create a searchbox for my web page

2015-03-07 Thread Ron Chatterjee
I would say, go through this link. Massimo and Leonel explained everything. https://groups.google.com/forum/#!topic/web2py/poJDzhYa-d0 On Saturday, March 7, 2015 at 7:33:33 AM UTC-5, zimani wrote: > > > hello people, > > So i have created my web pages. However i need a searchbox for my users,

[web2py] Re: Whoosh

2015-03-07 Thread Ron Chatterjee
web2py lived up to its promise again and delivered!!! works like a champ. Once line put all the search results in your finger tip and that without wring one single line of JS like php will make you do. The magic of python. How cool is that!:-)? On Saturday, March 7, 2015 at 12:07:35 PM UTC-5,

[web2py] translate without translating interface--Firefox

2015-03-07 Thread dangnearhere
I set my Firefox to prefer Italian but then instead of just translating the one word I have marked T(word), Web2Py's interface is translated into Italian. The instructions for Chrome in the video referenced below seemed to say that I should add Italian but not make it first priority, and that

[web2py] Re: Whoosh

2015-03-07 Thread Massimo DiPierro
I run some tests and I cannot reproduce the problem but I pointed you to the wrong function. This works for me and does what you asked: db = DAL() db.define_table('a',Field('b')) db.a.insert(b="xxx") query = SQLFORM.build_query([db.a.b],'xxx') print db(query).select() Does it work for you? On

Re: [web2py] Re: OT: I'm stunned how bad MySql is after using Postgres

2015-03-07 Thread Jim Steil
Nice one. Evidently we're developing very different types of apps. I rarely hit table sizes greater than 1M records. MySQL performs really well for me. Yes, I've had to code around some performance issues (the IN clause specifically), but that is trivial. I've only ever worked with Postgres on

[web2py] How to create a searchbox for my web page

2015-03-07 Thread zimani
hello people, So i have created my web pages. However i need a searchbox for my users, based on all my pages/database. How can i easily include a search box to my pages. Is there a plugin for search boxes? Thanks for the help -- Resources: - http://web2py.com - http://web2py.com/book (Docume

[web2py] Help deleting a row when using components LOAD

2015-03-07 Thread niki
hi everyone, So i have two components on my page. I can insert comments on my components just fine. However i am trying to allow my users to delete a comment they have inserted. I am not sure how to go about it. Somebody please help it will be appreciated. This is what i have. *In comments.py