diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-06 18:36:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-06 18:36:50 -0500 |
commit | fba1d29c1b8fcc58a5501aad206901e6217cd530 (patch) | |
tree | 9e4307e16ee0e9795a84b2f8bac657c3c5e0d1ec /main/models.py | |
parent | 145b80d0c6c466b08caf094df14d74ae56235151 (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.py | 2 |
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 ### |