From 4fff9ae4ed2de8a832fc9aa44fad8ba76e307c39 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 20 Oct 2015 10:38:21 +0200 Subject: fixing warning SAWarning: Can't resolve label reference 'Feed.last_retrieved' --- pyaggr3g470r/controllers/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/controllers/feed.py') diff --git a/pyaggr3g470r/controllers/feed.py b/pyaggr3g470r/controllers/feed.py index a8e96217..90ee6ea5 100644 --- a/pyaggr3g470r/controllers/feed.py +++ b/pyaggr3g470r/controllers/feed.py @@ -41,7 +41,7 @@ class FeedController(AbstractController): return [feed for feed in self.read( error_count__lt=max_error, enabled=True, last_retrieved__lt=max_last) - .order_by('Feed.last_retrieved') + .order_by('last_retrieved') .limit(limit)] def list_fetchable(self, max_error=DEFAULT_MAX_ERROR, limit=DEFAULT_LIMIT, -- cgit