diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/management/commands/reporead.py | 2 | ||||
-rw-r--r-- | devel/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 62dce663..854b6322 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -151,7 +151,7 @@ def populate_pkg(dbpkg, repopkg, force=False, timestamp=None): pass if timestamp: - dbpkg.needupdate = False + dbpkg.flag_date = None dbpkg.last_update = timestamp dbpkg.save() diff --git a/devel/views.py b/devel/views.py index c600f089..5f4bcb94 100644 --- a/devel/views.py +++ b/devel/views.py @@ -25,7 +25,7 @@ pwletters = ascii_letters + digits def index(request): '''the Developer dashboard''' inner_q = PackageRelation.objects.filter(user=request.user).values('pkgbase') - flagged = Package.objects.select_related('arch', 'repo').filter(needupdate=True) + flagged = Package.objects.select_related('arch', 'repo').filter(flag_date__isnull=False) flagged = flagged.filter(pkgbase__in=inner_q) todopkgs = TodolistPkg.objects.select_related( |