Hi, I think I am going to go to the DateField solution. I did not want to store the year because: 1) I do not know the years of all my friends, although I know the days. 2) Not everyone likes everybody to see how old they are :-)
Thanks all for your answer. G On 10/13/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: > > On 13 Oct 2006, at 0:24, Guillermo Fernandez Castellanos wrote: > > I am trying to keep a birthday field in the database. But i am only > > interested in the day and month. Is there a way of using a DateField > > but only with day and month fields? Or should I use another solution? > > A DateField looks like what you want: instead of storing just day and > month, why not store also the year somebody was born? That way you > can calculate stuff like "ZOMG, it's your 27th birthday, you're > getting old!" :-) > > Cheers. > -- > Antonio > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---