thanks ,that worked..

any idea about calculating the duration? I can do a - between two
datetime.datetime objects to get a timedelta.. but that doesn't work
with datetime.time objects

harry


On Feb 16, 12:37 pm, Masklinn <maskl...@masklinn.net> wrote:
> Just wrap the thing in a `lambda` and you should be good to go: 
> `default=(lambda:datetime.now().time)`

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to