Permalink
Browse files

ops.. authenticated() !!

  • Loading branch information...
1 parent 224b87b commit 0bbf85e1cc4ea960526d6d59758f981900976c8c @danieleguido committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 walt/views.py
View
@@ -120,7 +120,7 @@ def home( request ):
data['series'] = Serie.objects.filter( language=data['language'] ).order_by( '-date_last_modified','-id' )
- if request.user.is_authenticated:
+ if request.user.is_authenticated():
serie = Serie.objects.filter( language=data['language'], authors=request.user ).order_by( '-date_last_modified','-id' )[:1]

0 comments on commit 0bbf85e

Please sign in to comment.