nope, it's the same as default=datetime.datetime() . 
if default is callable, each time the function gets called, hence a new uuid is 
created. If instead is the result of a function, it's the same result of 
the same initiated instance.

On Thursday, May 28, 2015 at 7:16:59 AM UTC+2, Christophe Meessen wrote:
>
> Hello, 
>
> I recently encounter a problem when trying to serialize the model 
> including the scheduler tables. 
>
> The default value of the uuid field in the scheduler_task table is set 
> to the function web2py_uuid. 
> Shouldn't it be the value returned by web2py_uuid and thus web2py_uuid() ? 
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to