How To Filter By Last 3 Months In Django

前端 未结 0 765
野趣味
野趣味 2021-01-27 02:04

What is the best way to filter a DateField by the last 3 months in django.

#post_list = Post.objects.filter(release_date=three_months_ago)

Here i

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