Re: Time duration in django models

2011-08-09 Thread Scott Gould
Nothing native. I'd store it in seconds, as an int, and let the model convert to and from a timedelta. Looks like there's a snippet all ready to go: http://djangosnippets.org/snippets/1060/ On Aug 9, 6:32 am, Mohamed Ghoneim wrote: > Hey guys, > > I am just wondering if there is a time duration

Time duration in django models

2011-08-09 Thread Mohamed Ghoneim
Hey guys, I am just wondering if there is a time duration field in django models. what I want to do is a field that takes a time duration in days, hours, mins, seconds and store it into the database. -- Mohamed Sayed Ghoneim -- You received this message because you are subscribed to the Google