I should note that I am using "compute" which calls a function via
lambda.
def get_expire_date(r):
return (r['days'] + 1) * (r['duration'])
Field('expire_date', compute=lambda r: get_expire_date(r)),
On Wednesday, January 26, 2011 6:20:05 PM UTC-8, pbreit wrote:
>
> I can't seem to get a change I made to a function in a model to reload. One
> problem is that stopping & starting the server on my Mac does not work. But
> even when I quit web2py and re-open it, the edits I made to the function in
> a model are not getting used. I'm assuming it's cached somewhere but can't
> figure out what to do.