How to prefetch or subquery a deeply nested object with condition in Django ORM

后端 未结 0 660
眼角桃花
眼角桃花 2020-12-04 03:50

There are theses models and relations :

Hours --FK--> Task --FK--> Project <--FK-- Period

class Hour(models.Model):
  date = models.DateField(...)
          


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