Perfect
I think this can be added to the relevant section of the book, I
didn't find anything about that, also on the internet...
Thanks a lot, though.
Niphlod
On 8 Set, 03:08, mdipierro wrote:
> Sorry for the lat reply. This is not a bug. This is a design issue and
> tradeoff.
>
> In
Sorry for the lat reply. This is not a bug. This is a design issue and
tradeoff.
In fact there is a single virtualfields instance, the one you create
in:
db.test.virtualfields.append(TestLazy())
and not one instance per record. There are two reasons for this:
1) allows cumulative virtualfield
I see, the issue is really difficult to explain.
I really want to squash this "bug", though.
In addition on what I reported before, I managed to get eclipse
debugging web2py and found that a default row is passed as default
value to lazy_test_field() and surprise. surprise, it's actually the
last
3 matches
Mail list logo