Hi all,

I'm relatively new to Django, so bear with me...
I'm building an app for a band website that lists details about the
band members.
I thought it'd be nice to have a Happy Birthday message display if
today was a members birthday and have built an array like so:
members_born_today =
Member.objects.filter(birth_date=datetime.date.today())

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??

Thanks in advance.
--
Chris


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to