[web2py:13544] Re: new web2py wiki

2008-12-14 Thread Joe Barnhart
Maybe it's just me --- but I found the discussion of ReST very confusing since I relate it to Representational State Transfer, not ReStructured Text. I really puzzled over this discussion until I figured it out. Do you suppose, moving forward, that the Python community should pick a different

[web2py:13545] Re: t3 on launchpad, t2 will die

2008-12-14 Thread Joe Barnhart
In keeping with the web2py theme, a couple which come to mind are: app2py webapp2py On Dec 10, 4:13 pm, mdipierro mdipie...@cs.depaul.edu wrote: This is not the final word. I think we need a better name. T3 is not easily identifiable. Suggestions?

[web2py:13547] Refreshing List view after form submission

2008-12-14 Thread Fran
I have a fairly typical design of page for this environment: List of existing items Form to add a new item When I submit my form, I get my flash saying that item has been added ( indeed db is updated correctly), however I don't get the list of items refreshedso users will be uncertain. I can

[web2py:13551] Re: t3 on launchpad, t2 will die

2008-12-14 Thread ceej
I like the idea of t3 but I also really like the idea of t2, I feel t2 should be separate from t3 and the extra features in t2 that are specifically for t3 should be in a separate module extending t2. Because t2 is a great module to plug into any application and helps speed up the development

[web2py:13552] Editing T2 -- caching problems?

2008-12-14 Thread Peter
I'm editing applications/plugin_t2/modules/t2.py, trying to find out why my registration emails don't get out the door (Unable to Send Email, hmm). But it seems that despite my edits, the original t2 code gets executed. Of course, I've deleted the t2.pyc I've found there. Is there a trick to

[web2py:13554] Widget problem

2008-12-14 Thread Fran
I want to be able to flag to the user that certain input fields are 'Required' (even before they hit 'Submit' see the form failing to validate) To do this I decided to try create a widget that would append to the normal INPUT box a SPAN(_class=req). I can then use CSS/JS to populate that span

[web2py:13555] Re: Editing T2 -- caching problems?

2008-12-14 Thread Yarko Tymciurak
Hi Peter - IF you are doing this for T3, then you should look at the include in applications/t2/models/db.py --- plugins_t2 is obsolete now; t3 uses the t2 that appears in it's modules directory, so the include is really happening as from applications.t3.modules.t2 import T2 The code in

[web2py:13557] Re: Widget problem

2008-12-14 Thread Yarko Tymciurak
(note: this hasn't been changed since before T3, so you may want to change line 3 in web2conf/models/db.py to: from applications.t3.modules.t2 import T2, COUNTRIES before you run it locally. Regards, Yarko On Sun, Dec 14, 2008 at 6:11 PM, Yarko Tymciurak yark...@gmail.com wrote: ummm

[web2py:13559] Re: Not-so-intuitive behavior when search in boolean field

2008-12-14 Thread mdipierro
yes, for now put it on the wiki. On Dec 14, 9:53 am, Iceberg iceb...@21cn.com wrote: Achipa, thanks for your valuable words and I appreciate that. I'll take your advice. By the way, according to my test, db( ~ (db.Orders.special==True)) equals to: db(db.Orders.special != True) and

[web2py:13562] Re: Refreshing List view after form submission

2008-12-14 Thread mdipierro
This works but sometimes it may be cleaner to redirect to the same action. On Dec 14, 3:32 pm, Fran francisb...@googlemail.com wrote: On Dec 14, 8:50 pm, billf billferr...@blueyonder.co.uk wrote: I think something like the following would give you what you want: Yes, listing the records

[web2py:13563] Re: t3 on launchpad, t2 will die

2008-12-14 Thread mdipierro
This is what I meant. t2 is contained and will be contained in t3. On Dec 14, 4:11 pm, ceej cjlaz...@googlemail.com wrote: I like the idea of t3 but I also really like the idea of t2, I feel t2 should be separate from t3 and the extra features in t2 that are specifically for t3 should be in a

[web2py:13564] Re: References on GAE

2008-12-14 Thread notabene
db.define_table('adr', SQLField ('name','string',length=32,required=True,requires=IS_NOT_EMPTY()), db.define_table('arr', SQLField ('name','string',length=32,required=True,requires=IS_NOT_EMPTY()), SQLField('sted','reference adr', default='0',required=True,requires=IS_NOT_EMPTY()),

[web2py:13565] Re: References on GAE

2008-12-14 Thread notabene
It works on web2py - but not on GAE? On Dec 15, 7:59 am, notabene ni...@bjerre.net wrote: db.define_table('adr',   SQLField ('name','string',length=32,required=True,requires=IS_NOT_EMPTY()), db.define_table('arr',   SQLField