[web2py:14389] Re: open source organization again

2009-01-01 Thread billf
Re online tests: if it all takes off and membership is worth anything won't someone sell the answers to (or offer to complete) online tests for people unable to do it for themselves? Sorry to be a wet blanket. "Just because you're paranoid it doesn't mean they're not out to get you." On Dec 30

[web2py:14388] Re: Proposal: MVC separation - son of custom views

2009-01-01 Thread billf
Yarko I finally got around to looking at your comments in detail with the following results. 1) Re labels: I'm not totally convinced by the "labels are model" argument but my implementation (when it arrives if ever) will use (per field) 'view label' over 'model label' over 'field name'. Your ar

[web2py:14387] Re: 1.55rc2 and Happy New Year.

2009-01-01 Thread pmate
Always working to web2py, even on holidays, eh? :-) Happy new year to all! Paolo On 1 Gen, 12:00, mdipierro wrote: > reposted. to fix a change that could have broken backward > compatibility. > > Massimo > > On Dec 31 2008, 9:53 am, mdipierro wrote: > > > Please check out > > >http://mdp.cti.d

[web2py:14386] Re: [web2py:/] Re: central widget repository

2009-01-01 Thread Wes James
who is in control of: http://mdp.cti.depaul.edu/ though? If mdp.cti is your machine, you can do what you want with certs. -wj On Wed, Dec 31, 2008 at 3:13 AM, mdipierro wrote: > > The problem is that the university owns the domain and has no > procedure for issuing certificates. I will try f

[web2py:14385] Re: central widget repository

2009-01-01 Thread Alexandre Miguel de Andrade Souza
Massimo, But you can do a cert for web2py.com and configure apache. On Thu, Jan 1, 2009 at 8:51 AM, mdipierro wrote: > > it does not work because the university owns already depaul.edu. I > cannot buy a certificate for a subdomain. The university has to > provide one to me. > > Massimo > > On

[web2py:14384] Re: gae - specifying choices to StringProperty

2009-01-01 Thread Robin B
The StringListProperty and ListProperty are not implemented in web2py. They could be implemented, but they would be incompatible with SQL databases. ListProperties are used because they can save you from performing an extra db query in a denormalized database, so the work around is to have anoth

[web2py:14383] Re: gae - specifying choices to StringProperty

2009-01-01 Thread sudhakar m
Thanks Fran. This would suffice my current requirement. But is there a way to define StringListProperty or ListProperty in model. Sudhakar.M --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" grou

[web2py:14382] Re: gae - specifying choices to StringProperty

2009-01-01 Thread Fran
On Jan 1, 11:18 pm, "sudhakar m" wrote: > In Gae, we can specify the choices when creating the stringproperty. > *  phone_type = db.StringProperty( >     choices=('home', 'work', 'fax', 'mobile', 'other')) db.table.field.requires=IS_IN_SET('home', 'work', 'fax', 'mobile', 'other') Produces a dr

[web2py:14381] Re: T2/T3 Cheat sheet

2009-01-01 Thread Tito Garrido
Great Work! Thank you very much! On Thu, Jan 1, 2009 at 7:10 AM, mdipierro wrote: > > fantastic. Thank you, I will link in from the web page > > Massimo > > On Dec 31 2008, 2:07 pm, "Paul D. Eden" wrote: > > In the hope that it will be useful, I am sharing a cheat sheet I made > > up for T2/T3.

[web2py:14380] gae - specifying choices to StringProperty

2009-01-01 Thread sudhakar m
In Gae, we can specify the choices when creating the stringproperty. * phone_type = db.StringProperty( choices=('home', 'work', 'fax', 'mobile', 'other')) * This will prevent other value's to this field. I am finding it very much useful for my current design. But how do i represent this in w

[web2py:14379] Re: Delete from admin/design broken in trunk

2009-01-01 Thread mr.freeze
More clues: web2py/gluon/main.py line 184 dpost=cgi.FieldStorage (fp=request.body,environ=environ,keep_blank_values=1) Python 2.5 result: FieldStorage(None, None, [FieldStorage('delete', None, 'YES'), FieldStorage('sender', None, 'design/test')]) Python 2.6 result: FieldStorage: FieldStorage(Non

[web2py:14378] Re: Delete from admin/design broken in trunk

2009-01-01 Thread mr.freeze
The one thing I forgot to mention is that I am running Python 2.6 and of course that is the problem! It works perfectly on 2.5 Sorry! On Jan 1, 11:31 am, "mr.freeze" wrote: > It is working now. I confirmed that there was only one sender passed > in the URL before I upgraded. > > I was able to

[web2py:14377] Re: Delete from admin/design broken in trunk

2009-01-01 Thread mr.freeze
It is working now. I confirmed that there was only one sender passed in the URL before I upgraded. I was able to reproduce the problem on 3 different machines yesterday. I still have the previous version on one machine and will keep debugging out of curiosity. Thanks and Happy New Year! On Jan

[web2py:14376] Re: 1.55rc2 and Happy New Year.

2009-01-01 Thread mdipierro
reposted. to fix a change that could have broken backward compatibility. Massimo On Dec 31 2008, 9:53 am, mdipierro wrote: > Please check out > > http://mdp.cti.depaul.edu/examples/static/1.55rc2/web2py_src.ziphttp://mdp.cti.depaul.edu/examples/static/1.55rc2/web2py_osx.ziphttp://mdp.cti.depaul

[web2py:14375] Re: odd svn behavior

2009-01-01 Thread mdipierro
sorry, the Makefile did not get updated. You do not need to run the makefile anyway. I use it to build the distros. On Dec 31 2008, 12:14 pm, "Wes James" wrote: > On Wed, Dec 31, 2008 at 10:56 AM, mdipierro wrote: > > > Strange. try it again. The should both say 1.55rc3 now. > > > Massimo > > M

[web2py:14374] Re: central widget repository

2009-01-01 Thread mdipierro
it does not work because the university owns already depaul.edu. I cannot buy a certificate for a subdomain. The university has to provide one to me. Massimo On Dec 31 2008, 11:25 am, "Wes James" wrote: > You can get free edu certs from ipsCA for free.http://certs.ipsca.com/ I use > them all t

[web2py:14373] Re: moving data from sqlite to postgres

2009-01-01 Thread mdipierro
It works because a query can be any valid SQL statement. stus[0].id a positive number this it is a valid SQL statement, passed verbatim to the DB in the WHERE condition, and interpreted as True. Massimo On Dec 31 2008, 4:57 pm, "compte...@gmail.com" wrote: > Nevermind. This was the problem: >

[web2py:14372] Re: Delete from admin/design broken in trunk

2009-01-01 Thread mdipierro
I added a fix in trunk but this does not appear to be a web2py problem and I cannot reproduce it. Before you upgrade. Can you try again? Is it possible you had two sender=... in the URL. If so, can you try find out how that came to be? Massimo On Dec 31 2008, 1:25 pm, "mr.freeze" wrote: > See

[web2py:14371] Re: auto-generated validators based on field spec?

2009-01-01 Thread mdipierro
Hi rctay, some of this is done already. In particular in the example you mention if a "string" field has length=78, you atomtalically get a IS_LENGTH (78) validators. Similarly a date field gets a IS_DATE() validators, etc. This does not apply to 'text' because most databases impose no length co

[web2py:14370] Re: T2/T3 Cheat sheet

2009-01-01 Thread mdipierro
fantastic. Thank you, I will link in from the web page Massimo On Dec 31 2008, 2:07 pm, "Paul D. Eden" wrote: > In the hope that it will be useful, I am sharing a cheat sheet I made > up for T2/T3. > > It is available here. > > http://dl.getdropbox.com/u/169957/t2_t3_cheatsheet_0_9_0.pdf > > Ed