I'm not really sure you can but I'm also not clear why this is a problem. It would seem easy to just not use seconds and filter them out in the template and views as needed. Is this practical for your needs or is there a specific benefit you're seeking by filtering out seconds from the field?
On Aug 6, 1:26 pm, Hellnar <dalama...@gmail.com> wrote: > Greetings, I am trying to implement a TimeField model which only > consists of HH:MM (ie 16:46) format, I know it is possible to format a > regular Python time object but I am lost about how to manage this with > Django. > > Cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---