adrian schrieb:
> Has anyone written these?
>
> TimeSpan for example, is useful because '2 hours' is not a time, it's
> a difference between two times.
> It has its own validation and display needs.
>
>   
I once wrote a TimeDelta Database Field:
    http://www.djangosnippets.org/snippets/1060/

You should look at the python documentation of datetime.timedelta, too.

 Thomas

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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