summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-06 18:36:50 -0500
committerDan McGee <dan@archlinux.org>2010-07-06 18:36:50 -0500
commitfba1d29c1b8fcc58a5501aad206901e6217cd530 (patch)
tree9e4307e16ee0e9795a84b2f8bac657c3c5e0d1ec /main/models.py
parent145b80d0c6c466b08caf094df14d74ae56235151 (diff)
Update code to use new flag_date column
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 758e4036..cd09deac 100644
--- a/main/models.py
+++ b/main/models.py
@@ -49,7 +49,7 @@ class TodolistManager(models.Manager):
class PackageManager(models.Manager):
def flagged(self):
- return self.get_query_set().filter(needupdate=True)
+ return self.get_query_set().filter(flag_date__isnull=False)
#############################
### General Model Classes ###