summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index a5d6c42e..05e63fed 100644
--- a/main/models.py
+++ b/main/models.py
@@ -73,6 +73,10 @@ class TodolistManager(models.Manager):
return self.filter(todolistpkg__complete=False).distinct()
class PackageManager(models.Manager):
+ def flagged(self):
+ """Used by dev dashboard."""
+ return self.filter(flag_date__isnull=False)
+
def normal(self):
return self.select_related('arch', 'repo')