Django filter datetime based on month and day only in a range

后端 未结 0 749
予麋鹿
予麋鹿 2021-01-11 23:37

I am trying to filter model objects in between a certain range. If I consider the year then I am able to do it fine like below:

today = datetime.date.today()
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题