Group data by month, if the month is in a date range of two fields in Django

后端 未结 0 1447
暖寄归人
暖寄归人 2020-12-16 19:45

I have a contract model containing a start and end datetime field. I want to show in a graph how many contracts are active per month (the month is between start and end time

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