]> git.parisson.com Git - telemeta.git/commitdiff
re fix
authoryomguy <yomguy@parisson.com>
Tue, 1 May 2012 19:48:16 +0000 (21:48 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 1 May 2012 19:48:16 +0000 (21:48 +0200)
telemeta/views/base.py

index 14418efddd21a12a5ebbb9949b45e20d63bdf83c..6f53da96ea516092523fe5d9f92db48b08f119ba 100644 (file)
@@ -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 = []