[web2py:37077] attention ! attention !

2009-12-11 Thread mdipierro
The new version in trunk will by default override admin, welcome, examples and create welcome.w2p at startup. This will simplify upgrades. You can test the release candidate here: http://web2py.com/examples/static/1.74.0/web2py_src.zip http://web2py.com/examples/static/1.74.0/web2py_osx.zip http

[web2py:37076] new DAL('gae')

2009-12-11 Thread mdipierro
I have re-factored a lot of code in gluon/contrib/gql.py in order to make it leaner, more readable and add new syntax. Now you can do mix and match queries like: q1=(db.table.id==1) q2=(db.table.id>0) q3=(db.table.field.belongs(('value1','value2','value3'))) in expressions like db(q1)(q2)q3).sel

Re: [web2py:37075] case and queries [ Solved ]

2009-12-11 Thread Wes James
Thadeus, thx for the tip! this is what works: db(db.table.field.lower().like("%"+search_term.lower()+"%")) -wes On Fri, Dec 11, 2009 at 9:43 PM, Wes James wrote: > would you also need to do search_term.lower() to make that work? > > On Fri, Dec 11, 2009 at 9:40 PM, Thadeus Burgess > wrote:

[web2py:37074] Re: can't upload w2p from/to changeset 10

2009-12-11 Thread Brian M
Strange, I just tried with hg changeset 11 and it worked. My Steps: 1) "Pack all" an application from site admin screen. 2) Use "Upload existing application" to upload the w2p file you just downloaded. 3) New application successfully created. This is with python 2.6 and just the plain web2py buil

Re: [web2py:37073] case and queries

2009-12-11 Thread Wes James
would you also need to do search_term.lower() to make that work? On Fri, Dec 11, 2009 at 9:40 PM, Thadeus Burgess wrote: > db(db.table.field.lower().like("%"+search_term+"%")) > > -Thadeus > > > > > > On Fri, Dec 11, 2009 at 10:35 PM, Wes James wrote: >> I have been doing initial work with sqlit

Re: [web2py:37072] case and queries

2009-12-11 Thread Thadeus Burgess
db(db.table.field.lower().like("%"+search_term+"%")) -Thadeus On Fri, Dec 11, 2009 at 10:35 PM, Wes James wrote: > I have been doing initial work with sqlite.  In a search all items > have been appearing in the results.  I am moving to postgresql and now > queries are case sensitive.  Is the

[web2py:37071] Re: mercurial help

2009-12-11 Thread Brian M
OK, while how to move forward is being worked out, I thought I'd provide a clear answer for anyone using the mercurial repo who can't get create app to work. Problem: You have cloned the mercurial repository and cannot create a new app from site admin. Error message: Unable to create application "

[web2py:37070] case and queries

2009-12-11 Thread Wes James
I have been doing initial work with sqlite. In a search all items have been appearing in the results. I am moving to postgresql and now queries are case sensitive. Is there a simple way to get a case insensitive query with web2py/postgresql? thx, -wes -- You received this message because you

[web2py:37069] can't upload w2p from/to changeset 10

2009-12-11 Thread DenesL
w2p files created with changeset 10 give this error on upload (also running changeset 10): Traceback (most recent call last): File "C:\web2py\hg\gluon\main.py", line 436, in wsgibase parse_get_post_vars(request, environ) File "C:\web2py\hg\gluon\main.py", line 308, in parse_get_post_vars

[web2py:37068] Re: Cron and Windows service

2009-12-11 Thread Brian M
Massimo - here are my test results I modified gluon/widget.py to include the following # ## Starts cron daemon if cron and not options.nocron: print 'Starting cron...' print 'cron = '+str(cron) print 'options.nocron = '+str(options.nocron) contrib.cron.cro

[web2py:37067] Re: CRYTICAL: Contributor Agreement

2009-12-11 Thread mdipierro
Need to think about it. On Dec 11, 5:54 pm, Yarko Tymciurak wrote: > actually, is there some acceptable digital signature you can accept? > (This seems both more secure for the sender, and safer for you, than > scanned signatures). > > On Dec 11, 5:52 pm, mdipierro wrote: > > > lol. > > You coul

[web2py:37066] Re: CRYTICAL: Contributor Agreement

2009-12-11 Thread Yarko Tymciurak
actually, is there some acceptable digital signature you can accept? (This seems both more secure for the sender, and safer for you, than scanned signatures). On Dec 11, 5:52 pm, mdipierro wrote: > lol. > You could scan and email it to me or give your geographic coordinates > and I will hack into

[web2py:37065] Re: CRYTICAL: Contributor Agreement

2009-12-11 Thread mdipierro
lol. You could scan and email it to me or give your geographic coordinates and I will hack into the Hubble telescope. On Dec 11, 5:44 pm, guruyaya wrote: > OK, I've signed it. It's hanging on my wall for all to see. > Anything else you want done with it? > > On Dec 11, 6:45 pm, mdipierro wrote:

[web2py:37064] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread mr.freeze
The LINQ to SQL designer is actually very good and works flawlessly on legacy databases (MSSQL only of course). It's the needless abstraction of ASP.net over well defined web standards that breaks my heart. They're making strides with MVC but it's still bloated and counter intuitive. On Dec 11, 5:

[web2py:37063] Re: CRYTICAL: Contributor Agreement

2009-12-11 Thread guruyaya
OK, I've signed it. It's hanging on my wall for all to see. Anything else you want done with it? On Dec 11, 6:45 pm, mdipierro wrote: > If you are a web2py contributor or wish to be one, please sign this > contract: > >    http://www.web2py.com/examples/static/agreement.pdf > > Only contributors

[web2py:37062] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 5:16 pm, "mr.freeze" wrote: > It's almost silly how much faster (and better) I can code with web2py > vs. others. I just picked back up on a large asp.net project and want > to gouge my eyes out!!! .. I'll back-pedal a little more: asp.net on a Microsoft environ (e.g. SQL Server) ha

[web2py:37061] Re: Populate failed with 'time' field

2009-12-11 Thread mdipierro
Please try trunk again. On Dec 11, 4:35 pm, Thadeus Burgess wrote: > I get the following traceback while attempting to use populate on > 10,000 records. Works in intervals of 50 :) > > Traceback (most recent call last): >   File "/home/thadeusb/Applications/tb-web2py/gluon/restricted.py", > line

[web2py:37060] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 5:16 pm, "mr.freeze" wrote: > It's almost silly how much faster (and better) I can code with web2py > vs. others. I just picked back up on a large asp.net project and want > to gouge my eyes out!!! hehehe yeah, I can remember that too except for maybe some things, e.g. view la

[web2py:37059] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread mr.freeze
It's almost silly how much faster (and better) I can code with web2py vs. others. I just picked back up on a large asp.net project and want to gouge my eyes out!!! On Dec 10, 10:20 pm, Thadeus Burgess wrote: > Everytime I look at a django app... it makes me so grateful for web2py :) > > -Thadeus

[web2py:37058] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Jose
On 11 dic, 19:31, mdipierro wrote: > we could add database hooks. Would you make a wishlist for the api? > As my English is poor and not know django, someone could explain what database hooks and what benefits you can give? Jose -- You received this message because you are subscribed to the

[web2py:37057] Ngram based search. App

2009-12-11 Thread Thadeus Burgess
http://static.thadeusb.com/web2py.app.ngram.w2p This uses a ngram class and will perform searches on content. With sample data from the populate() function, the results are not very good, however in a blog setting, with real sentences results are very accurate in my testing. -Thadeus -- You rec

Re: [web2py:37056] Re: Populate failed with 'time' field

2009-12-11 Thread Thadeus Burgess
I get the following traceback while attempting to use populate on 10,000 records. Works in intervals of 50 :) Traceback (most recent call last): File "/home/thadeusb/Applications/tb-web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/home/thadeusb/Applicat

[web2py:37055] Re: sqlform view

2009-12-11 Thread mdipierro
{{=SQLTABLE(rows,truncate=1000)}} On Dec 11, 4:10 pm, __Kyo__ wrote: > Hi, I use sqltable to show data, but i want to show al the field data, > but it just shows me a part of it, like this: > > auth_user.id    auth_user.first_name    auth_user.last_name > 1                            Ivan      

[web2py:37054] Re: Database driven Calendar

2009-12-11 Thread DJ
Thanks Thadeus and Massimo. The fullcalendar app looks great in the CRM demo. Will check out the source. -Sebastian On Dec 11, 4:41 pm, mdipierro wrote: > It is used in here: > > http://web2py-crm.appspot.com/ > > The source is posted. > > Massimo > > On Dec 11, 2:48 pm, Thadeus Burgess wrote:

[web2py:37053] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread mr.freeze
Just added: multiple grids per page is supported now! Enjoy, Nathan On Dec 11, 12:35 pm, "mr.freeze" wrote: > No javascript needed. I have plans to add ajax hooks for inline > editing but will make sure that it degrades gracefully when javascript > is disabled. > > On Dec 11, 12:27 pm, Thadeus B

[web2py:37052] sqlform view

2009-12-11 Thread __Kyo__
Hi, I use sqltable to show data, but i want to show al the field data, but it just shows me a part of it, like this: auth_user.idauth_user.first_nameauth_user.last_name 1IvanCastillo Ponc... I'd like to show this, using sqltable: a

[web2py:37051] Re: Database driven Calendar

2009-12-11 Thread mdipierro
It is used in here: http://web2py-crm.appspot.com/ The source is posted. Massimo On Dec 11, 2:48 pm, Thadeus Burgess wrote: > I would suggest jquery fullcalendar. It acts similar to google calendar. > > http://arshaw.com/fullcalendar/ > > -Thadeus > > On Fri, Dec 11, 2009 at 2:45 PM, DJ wrote

[web2py:37050] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread mdipierro
no On Dec 11, 2:27 pm, Thadeus Burgess wrote: > I have been thinking about hooks, and the best way to implement them. > I sent you an email a week or so ago about the subject did you get it? > > Do we have a wiki page for the wishlist? > > -Thadeus > > On Fri, Dec 11, 2009 at 2:04 PM, mdipierro

Re: [web2py:37049] Database driven Calendar

2009-12-11 Thread Thadeus Burgess
I would suggest jquery fullcalendar. It acts similar to google calendar. http://arshaw.com/fullcalendar/ -Thadeus On Fri, Dec 11, 2009 at 2:45 PM, DJ wrote: > ou have any recommendations for any existing calendar framework > that can work with web2py? I need a displaying framework not a > c

[web2py:37048] Database driven Calendar

2009-12-11 Thread DJ
Hello all, I would like to build an application that displays a calendar showing events for each day/week. These events are stored in a database that is accessed by web2py. (similar to Google calendar) Do you have any recommendations for any existing calendar framework that can work with web2py?

[web2py:37047] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 2:38 pm, Yarko Tymciurak wrote: > On Dec 11, 2:04 pm, mdipierro wrote: > > > One thing I appreciate a lot these days is the DAL instead of ORM. > > > This is because I am working on a system with models derived > > automatically form some documentation and change rapidly as I progress

[web2py:37046] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 2:04 pm, mdipierro wrote: > One thing I appreciate a lot these days is the DAL instead of ORM. > > This is because I am working on a system with models derived > automatically form some documentation and change rapidly as I progress > in the documentation. It is very easy to parse text

Re: [web2py:37045] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Thadeus Burgess
I have been thinking about hooks, and the best way to implement them. I sent you an email a week or so ago about the subject did you get it? Do we have a wiki page for the wishlist? -Thadeus On Fri, Dec 11, 2009 at 2:04 PM, mdipierro wrote: > One thing I appreciate a lot these days is the D

[web2py:37044] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread mdipierro
One thing I appreciate a lot these days is the DAL instead of ORM. This is because I am working on a system with models derived automatically form some documentation and change rapidly as I progress in the documentation. It is very easy to parse text files, extract relations and build models dynam

[web2py:37043] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread mdipierro
we could add database hooks. Would you make a wishlist for the api? On Dec 11, 12:23 pm, Thadeus Burgess wrote: > Summary: > > web2py: >     simple, concise forms >     python as a templating language >     true model controller view cycle >     friendly table definitions >     sql-like query fun

[web2py:37042] Re: validator breaks update and create other table

2009-12-11 Thread mdipierro
In your validator: (db.companyactivity.activity==request.vars.activity) the left hand side a reference field or an int and the right hand side is a string. Hard to follow but I think db.timetable.activity.requires=IS_IN_SET([row.activity for row in activity]) should be db.timetable.activity.re

[web2py:37041] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Yarko Tymciurak
:-) Thadeus - What you like is what you like! No one needs to agree! Thanks for being specific - it's a _great_ holiday gift! :-) - Yarko On Dec 11, 12:23 pm, Thadeus Burgess wrote: > Summary: > > web2py: >     simple, concise forms >     python as a templating language >     true model cont

[web2py:37040] validator breaks update and create other table

2009-12-11 Thread annet
In my model I have a combination table that combines companies with activities. Since I don't want a user to enter a combination twice I defined the following validator: db.companyactivity.company.requires=[IS_IN_DB(db,db.company.id,'% (companyname)s'),IS_NOT_IN_DB(db (db.companyactivity.activity=

[web2py:37039] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread mr.freeze
No javascript needed. I have plans to add ajax hooks for inline editing but will make sure that it degrades gracefully when javascript is disabled. On Dec 11, 12:27 pm, Thadeus Burgess wrote: > Nathan, does your grid rely on javascript? If no javascript is > required, that is one reason to use it

[web2py:37038] Re: validator less than

2009-12-11 Thread annet
Massimo, > Why isn't the problem solved by the validator that I posted? In my model the openinghours table reads like: db.define_table('openinghours', Field ('company',db.company,default='',notnull=True,ondelete='CASCADE', writable=False, readable=False), Field('day',db.day,default='',no

Re: [web2py:37037] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread Thadeus Burgess
Nathan, does your grid rely on javascript? If no javascript is required, that is one reason to use it rather than datatables :) -Thadeus On Fri, Dec 11, 2009 at 10:35 AM, mr.freeze wrote: > Here is a list of changes: > > * Allows setting of 'id' for the table > * No Additional TBODY when hea

Re: [web2py:37036] Re: Unable to install application ""

2009-12-11 Thread Thadeus Burgess
I will not be doing anything for the holidays except programming. I will add this to my list if there are no other takers? -Thadeus On Fri, Dec 11, 2009 at 1:01 AM, Jonathan Lundell wrote: > On Dec 10, 2009, at 6:36 PM, mdipierro wrote: > >> I think it removes the uploaded file execpt if tar

Re: [web2py:37035] Re: Off-Topic: Web2py awesomeness

2009-12-11 Thread Thadeus Burgess
Summary: web2py: simple, concise forms python as a templating language true model controller view cycle friendly table definitions sql-like query functions automatic-migrations ...so much more django: database hooks The details: Django makes no logical sense... a

[web2py:37034] Re: Custom Form Element For Crud.Create

2009-12-11 Thread Mengu
thank you annet and massimo. your posts were helpful. massimo, what you mean by processing "xxx" on onaccept? like form = crud.create(table, onaccept=aMethodName) and then def aMethodName (form): form.vars.field = some value? -- You received this message because you are subscribed to the Google

Re: [web2py:37033] Re: Unsubscribe is not working

2009-12-11 Thread Jonathan Lundell
On Dec 11, 2009, at 9:42 AM, mr.freeze wrote: > Did you already go to http://groups.google.com/group/web2py/subscribe > and select 'No Email'? I took care of it. > > > On Dec 11, 6:36 am, Offray Vladimir Luna Cárdenas > wrote: >> Hi all, >> >> First, thanks for all the learning. I think that

[web2py:37032] Re: Unsubscribe is not working

2009-12-11 Thread mr.freeze
Did you already go to http://groups.google.com/group/web2py/subscribe and select 'No Email'? On Dec 11, 6:36 am, Offray Vladimir Luna Cárdenas wrote: > Hi all, > > First, thanks for all the learning. I think that web2py is a wonderful > web application framework, but now my endeavors are oriente

[web2py:37031] Unsubscribe is not working

2009-12-11 Thread Offray Vladimir Luna Cárdenas
Hi all, First, thanks for all the learning. I think that web2py is a wonderful web application framework, but now my endeavors are oriented back to Zope + Plone, because of the Cyn.in web app. So I'm not reading actively this mailing list. I have tried unsubscribing following the instructions

[web2py:37030] Re: Cron and Windows service

2009-12-11 Thread mdipierro
Please do the following check. in gluon/widget.py there if cron and not options.nocron: print 'Starting cron...' contrib.cron.crontype = 'hard' cron = contrib.cron.hardcron() cron.start() is this code executed when you run with -W? What are the values of cron a

[web2py:37029] Re: sqlite legacy support

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 10:21 am, mdipierro wrote: > Yarko, > > This feature as well as the new Keyed Tables (which do somewhat what > you say) were proposed, implemented in trunk, and there was an RFC on > this mailing list. They both made in trunk one month ago. I understand > you do not like the syntax but

[web2py:37028] CRYTICAL: Contributor Agreement

2009-12-11 Thread mdipierro
If you are a web2py contributor or wish to be one, please sign this contract: http://www.web2py.com/examples/static/agreement.pdf Only contributors who have signed this contract will be listed as "official" contributors. I will no longer accept major patches from users who have not signed the

[web2py:37027] Re: sqlite legacy support

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 10:13 am, mdipierro wrote: > I reviewed it! There is nothing special in Field(...,'id'). > > All tables must have a field of type 'id' with two exceptions: > - if you do not specify one, one is created automatically and called > 'id' as the type (Field('id','id'), the default) ... and

[web2py:37026] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread mr.freeze
Here is a list of changes: * Allows setting of 'id' for the table * No Additional TBODY when header included * THEAD includes THs not TDs * No odd '%s' in Class * PEP-8 cleanup * row_created event On Dec 11, 9:07 am, "mr.freeze" wrote: > datatables requires a strictly formatted table,i.e. correc

[web2py:37025] Re: sqlite legacy support

2009-12-11 Thread mdipierro
Yarko, This feature as well as the new Keyed Tables (which do somewhat what you say) were proposed, implemented in trunk, and there was an RFC on this mailing list. They both made in trunk one month ago. I understand you do not like the syntax but you cannot complain about it now that it is done.

[web2py:37024] Re: Custom Form Element For Crud.Create

2009-12-11 Thread annet
Hi Mengu, > i was just wondering if it is possible to add a custom form element > like an input or a drop down box to a crud.create. i also would like > to know how sqlform is different than crud. I don't know if this what you're looking for, but I needed a custom drop box in a crud.create and a

[web2py:37023] Re: sqlite legacy support

2009-12-11 Thread mdipierro
I reviewed it! There is nothing special in Field(...,'id'). All tables must have a field of type 'id' with two exceptions: - if you do not specify one, one is created automatically and called 'id' as the type (Field('id','id'), the default) - legacy database can have more complex keys (Denes' key

[web2py:37022] Re: Custom Form Element For Crud.Create

2009-12-11 Thread mdipierro
form = crud.update(...,next='...') is equivalent to form = SQLFORM(...) if form.accepts(request.vars,session): session.flash='' redirect(next) curd.create is the same as crud.update but makes a new record instead of creating an existing one. When you use SQLFORM you explicitly pass a

[web2py:37021] Re: sqlite legacy support

2009-12-11 Thread Yarko Tymciurak
On Dec 11, 12:41 am, Brian M wrote: > t.staid could be the primary key as far as the database is concerned. > The issue is that web2py expects the primary key field to be called > ID. > > I'd give Massimo's suggestion of db.define_table(...Field > ('staid','id'),...) a shot - he's the man, so he

[web2py:37020] Custom Form Element For Crud.Create

2009-12-11 Thread Mengu
hi everyone, i was just wondering if it is possible to add a custom form element like an input or a drop down box to a crud.create. i also would like to know how sqlform is different than crud. thank you. Mengu -- You received this message because you are subscribed to the Google Groups "web2

[web2py:37019] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread mr.freeze
datatables requires a strictly formatted table,i.e. correct thead,tbody,tfoot,etc. declaration. Fran's changes correct formatting errors in the table so you *could* use WebGrid to generate a table that can be used with datatables (SQLTABLE may be a better choice though). WebGrid and datatables ha

[web2py:37018] Re: Fail login doesn't return an errorm msg

2009-12-11 Thread mdipierro
For debugging purposes 1) try replace everything in the view with {{=loginform}} 2) try print request.function, request.vars what do you see? Feel free to send me your code and I will take a look. massimo On Dec 11, 8:47 am, Yannick wrote: > Yes I did comment this out "auth.settings.logi

[web2py:37017] Re: Fail login doesn't return an errorm msg

2009-12-11 Thread Yannick
Yes I did comment this out "auth.settings.login_next=URL(r=request, f='profile') " but still same old, the double redirect is still there... I really wonder what trigger that double redirection... there is nothing extra I'm doing here, I fulling using Auth API... Hmmm... On Dec 11, 9:33 am, Wes

[web2py:37016] Re: sqlite legacy support

2009-12-11 Thread mdipierro
It declares that there is a field 'staid' of type 'id' and this overrides the default 'id' field. Basically 'staid' will be the primary key and will be used in place of 'id'. This is a new feature that has not been tested much but it should work fine. Massimo On Dec 11, 12:41 am, Brian M wrote:

Re: [web2py:37015] Re: Fail login doesn't return an errorm msg

2009-12-11 Thread Wes James
On Thu, Dec 10, 2009 at 8:09 PM, Yannick wrote: > Hello thanks for the note... > > I did add "print request.function" > and Yes there is a double redirection because the output print the > function login twice : > login > login > > I wonder how to fix this double redirection here is one of the set

[web2py:37014] Re: Populate failed with 'time' field

2009-12-11 Thread DenesL
Yes, TortoiseHG. In the old one, also Tortoise, I just had to right click and select "update" (or whatever it was since I had to delete it to get the icons working with hg) and web2py was updated; "show log" also displayed all the available updates up to the latest one posted. On this one neither d

[web2py:37013] Re: Fail login doesn't return an errorm msg

2009-12-11 Thread Yannick
I tried the solution in this thread but unsuccessful: http://groups.google.com/group/web2py/browse_thread/thread/9e2441a938368b3a/451cfaf61e60a731?lnk=gst&q=double+redirect#451cfaf61e60a731 Anyway idea ? Yannick P. On Dec 10, 10:09 pm, Yannick wrote: > Hello thanks for the note... > > I did add

[web2py:37012] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread villas
Hi Benigno, DataTables plug in looks good. I thought the main advantages of Mr Freeze's version was (a) server pagination (b) avoid including another jquery file 60kb. If DataTables plug also does (a), then maybe the only difference is (b) and eye candy. Perhaps Mr Freeze could assist by briefly

[web2py:37011] Re: e-Store Appliance in GAE

2009-12-11 Thread Leandro - ProfessionalIT
Good, very good ! -- 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, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this grou

[web2py:37010] Re: new on web2pyslices.com: WebGrid

2009-12-11 Thread Benigno
Villas, There is a nice jquery plug-in called datatables, check it at http://www.datatables.net/ which basically means that you can create a grid with server pagination in minutes, and make it look beautifull with datatables all in one go. I guess thats what Mr Freeze is refering to anyway.

[web2py:37009] Re: Possible Bug (I think) in count()

2009-12-11 Thread Benigno
You are absolutelly right again, I was surprised that the comparison value was changed from 1 to 'T'. I had assumed that boolean was ussually mapped to int fields rather than char(1). By defining the field in web2py as integer, everything works as expected. Thanks again. Benigno. On Dec 10, 6:5