django-birthday icon indicating copy to clipboard operation
django-birthday copied to clipboard

parameters for upcoming birthdays

Open doc1977 opened this issue 2 years ago • 0 comments

Hi, want to change the period for upcoming BDays being counted from tomorrow, not today. i am new to python and django, so i am sure it is my fault and i forgot something in the syntax:

def my_view(request)

return render (request, bday.html { 'upcoming_birthdays': Employees.objects.get_upcoming_birthdays(after=1) })

with a "'str' object has no attribute 'timetuple'" error....

doc1977 avatar Apr 08 '23 17:04 doc1977