On Jan10, 11:53pm, mdipierro wrote:
> @Robin,
>
> I propose I change and I already implemented in in trunk.
>
> def f(form):
> if form.vars.a!=form.vars.b:
> form.errors.a='must be same as b'
> form.errors.b='must be same as a'
>
> if form.accepts(,onvalidation=lambda for
On Mar 6, 8:20 pm, DenesL wrote:
> Using rev775 I get Invalid Query but the command
>
> SELECT count(*) FROM person WHERE person.id>0;
>
> runs ok, the retrieved value is:
> [(50, )] if using fetchall() or
> (50, ) if using fetchone().
--~--~-~--~~~---~--~~
You r
Please try 776.
Can you print the generated statement and see what is wrong with it?
Massimo
On Mar 6, 8:20 pm, DenesL wrote:
> Using rev775 I get Invalid Query but the command
>
> SELECT count(*) FROM person WHERE person.id>0;
>
> runs ok, the retrieved value is:
> [(50, )] if using fetchall
Hello Carlo -
In Wing, there is the Debug Probe you can use to change the current
environment. I set breakpoints, and watch local variables in the "Stack
Data" tab; if I want execute some code in the current context, or modify
some value before moving ahead, I use the debug probe, either where th
This will have to wait until monday since I can not connect to the
servers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To
Well, what if I wanted to restore a database with ids used in multi-
table links? From what I read of the "import csv" it discards the id
field and inserts new records -- which will cause any linked records
from other tables to break. Come to think of it, I'm not sure how you
restore a database
Oops. Found the problem. I needed to pass "count" to the html view
where it was actually being used. Once I did that it worked as
expected.
-- Joe B.
On Mar 6, 3:56 pm, mdipierro wrote:
> This two
>
> {{=row._extra[db.mytable.id.count()]}}
> {{=row._extra['COUNT(myvar.id)']}}
>
> should be e
here's another, simpler use case:
For PyCon2009 we have a financial aid table. The F/A person took coupons
(discounts) which we generated offline, and with his own script, selected FA
applicants, and assigned the appropriate amounts to each individual in the
coupons.
He did this manually, off lin
OK, I'm a newbie. I'd like to use something like this, especially
after wrestling this morning trying to get the RSS example from the
manual working. Almost there but not quite. And using that example
would mean adding code to every single function
/application/controller/function/[R
Actually if you restore multiple tables using
d={}
db.table1.import_from_csv_file(file1,d)
db.table2.import_from_csv_file(file3,d)
...
web2py WILL FIX all your references. The new id will not be the same
as the old ones but the references will reflect the new ids.
This is achieved by storing a m
We have a booth at PyCon 2009. If you can me it let me know.
I am looking for volunteers to make shifts at the booth and answer
people's questions about web2py.
I may print t-shirts (depending on cost).
If you want to propose a design please email it to me asap.
If you have suggestions on how/w
This is really great - it only leaves the use case I outlined - updating
rows from csv (or - in the case of UUID / name field of coupon, would this
work that way anyway? Actually, I think so)
On Sat, Mar 7, 2009 at 3:15 PM, mdipierro wrote:
>
> Actually if you restore multiple tables using
Count me in (but I have pycon stuff to do too!)...
What about the shirt vendor Bruce used for PyCon?
Would a web2py patch that you can add to your pycon shirt be a better
alternative?
On Sat, Mar 7, 2009 at 3:29 PM, mdipierro wrote:
>
> We have a booth at PyCon 2009. If you can me it let me k
If the table has a field called "uuid" it is used and the record is
inserted or updated accordingly.
Massimo
On Mar 7, 6:31 pm, Yarko Tymciurak wrote:
> This is really great - it only leaves the use case I outlined - updating
> rows from csv (or - in the case of UUID / name field of coupon, wou
On Mar 8, 1:35 am, Yarko Tymciurak wrote:
> Would a web2py patch that you can add to your pycon shirt be a better
> alternative?
Only if it's backward compatible :D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"w
LOL! (good one!)
On Sat, Mar 7, 2009 at 7:56 PM, AchipA wrote:
>
> On Mar 8, 1:35 am, Yarko Tymciurak wrote:
> > Would a web2py patch that you can add to your pycon shirt be a better
> > alternative?
>
> Only if it's backward compatible :D
> >
>
--~--~-~--~~~---~--
Thank you Yarko.
What is a t-shirt patch?
On Mar 7, 6:35 pm, Yarko Tymciurak wrote:
> Count me in (but I have pycon stuff to do too!)...
> What about the shirt vendor Bruce used for PyCon?
>
> Would a web2py patch that you can add to your pycon shirt be a better
> alternative?
>
> On Sat, Mar 7,
For example: http://www.custom-patches4less.com/pricing.html
On Sat, Mar 7, 2009 at 9:47 PM, mdipierro wrote:
>
> Thank you Yarko.
> What is a t-shirt patch?
>
> On Mar 7, 6:35 pm, Yarko Tymciurak wrote:
> > Count me in (but I have pycon stuff to do too!)...
> > What about the shirt vendor Br
All,
I am glad to say that my first app on web2py is hosted in GAE, thanks
to ease of programming in web2py. It is my attempt to learn new
concepts (cloud computing, SAAS etc) utilizing my experience (on
helpdesk, service desk). It is hosted at: http://y-a-t-s-y.appspot.com/.
I blogged about it at
I've read that this is possible with t2, but how about 1.57? I've
tried it with 1.57 and it doesn't seem to work. Any suggestions for
how to do nested multi-level menus with the current version?
--~--~-~--~~~---~--~~
You received this message because you are subscri
On Mar 6, 9:45 pm, AchipA wrote:
> Another issue, somewhat linked to this is the version of web2py
> itself. Is there a way for the app to detect that the web2py version
> it is run on is older than it requires ?
>From checking the Admin application code (web2py\web2py\applications
\admin\cont
On Sat, Mar 7, 2009 at 11:16 PM, Joseph Jude wrote:
>
> All,
> I am glad to say that my first app on web2py is hosted in GAE, thanks
> to ease of programming in web2py. It is my attempt to learn new
> concepts (cloud computing, SAAS etc) utilizing my experience (on
> helpdesk, service desk). It i
Hi all,
On Mar 5, 7:23 pm, Yarko Tymciurak wrote:
> one advantage to a web2py wiki: we can dump (csv) contents in prep for
> sphinx integration / work.
Yes, that is an advantage, although I'm sure we could implement this
feature for any open source Wiki software without too much trouble.
I t
23 matches
Mail list logo