diff options
Diffstat (limited to 'servo/models')
-rw-r--r-- | servo/models/repair.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servo/models/repair.py b/servo/models/repair.py index dad1fe1..c9bb952 100644 --- a/servo/models/repair.py +++ b/servo/models/repair.py @@ -88,6 +88,8 @@ class ActiveManager(models.Manager): """ GSX repairs that have been submitted, and not marked complete """ + use_for_related_fields = True + def active(self, **kwargs): return self.filter(completed_at=None, **kwargs).exclude(submitted_at=None) |