Hi,

Streamweaver wasn't suggesting assigning 00 to every time, just hiding what
you don't want to show using views or templates. For instance:

http://docs.djangoproject.com/en/dev/ref/templates/builtins/#time

- Paulo

On Thu, Aug 6, 2009 at 6:47 PM, Hellnar <dalama...@gmail.com> wrote:

>
> Hello,
> I need this because it is a task specific requirement for my project
> (a television broadcast flow management which only consists of HH:MM
> format).I will let the user login via the admin panel and add these
> broadcast flows includint those times thus each addition with
> assigning HH:MM:00  would be royal pain :)
> Cheers
>
> On 6 Ağustos, 20:37, Streamweaver <streamwea...@gmail.com> wrote:
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to