(self)
| 80 | return ql or QueryLog(success=True, run_at=self.created_at) |
| 81 | |
| 82 | def avg_duration_display(self): |
| 83 | d = self.avg_duration() |
| 84 | if d: |
| 85 | return f"{self.avg_duration():10.3f}" |
| 86 | return "" |
| 87 | |
| 88 | def avg_duration(self): |
| 89 | return self.querylog_set.aggregate( |
nothing calls this directly
no test coverage detected