summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-15 01:55:26 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-15 01:55:26 +0100
commite0613a388831126ec4af21ab844c0f36f210a7ef (patch)
tree87d4181da5dce6e54791bea7ac3775cb37f1540d
parentb9a1b83273eceb519fa76b6624c69c2fc127fb64 (diff)
downloadtroggle-e0613a388831126ec4af21ab844c0f36f210a7ef.tar.gz
troggle-e0613a388831126ec4af21ab844c0f36f210a7ef.tar.bz2
troggle-e0613a388831126ec4af21ab844c0f36f210a7ef.zip
[svn] only logged in users should see the tasks page thing
-rw-r--r--core/views_other.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views_other.py b/core/views_other.py
index 5bf7333..1b61430 100644
--- a/core/views_other.py
+++ b/core/views_other.py
@@ -23,7 +23,7 @@ def stats(request):
return render_with_context(request,'statistics.html', statsDict)
def frontpage(request):
- if request.user.is_authenticated:
+ if request.user.is_authenticated():
return render_with_context(request,'tasks.html')
expeditions = Expedition.objects.order_by("-year")