how do i get queryset of people with a birthday in the next X days? I saw this answer, but it does not suit me, because gets people only with current year of birth.
If X is a constant that you know:
import datetime future_date = datetime.date.today() + datetime.timedelta(days=X) Profile.objects.filter( birth_date__month=future_date.month, birth_date__day=future_date.day )
Something like that.