From cda71a1951bb52cf1ec9d78dc5ab43b97b9ac704 Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 1 May 2012 21:48:16 +0200 Subject: [PATCH] re fix --- telemeta/views/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemeta/views/base.py b/telemeta/views/base.py index 14418efd..6f53da96 100644 --- a/telemeta/views/base.py +++ b/telemeta/views/base.py @@ -256,7 +256,7 @@ class GeneralView(object): rec_years = year_min and year_max and range(year_min, year_max + 1) or [] year_min, year_max = MediaCollection.objects.all().publishing_year_range() pub_years = year_min and year_max and range(year_min, year_max + 1) or [] - if request.user.is_authenticated: + if request.user.is_authenticated(): searches = Search.objects.filter(username=request.user) else: searches = [] -- 2.39.5