On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > However, this only works if the Member was actually born on this exact > date (including year)... how can I filter so that it ignores the year > and just looks at the day and month part of their birth_date??
d = datetime.date.today() members_born_today = Member.objects.filter(birth_date__month=d.month, birth_date__day=d.day) -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---