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
commit05d262e42bf1a6c2e3cd0ee26d2bb17269135cf9 (patch)
tree824af7b14957bec46b10b4727ec3010d6ac0d869
parent18e61d19f5e0e20d847bb186020b19c06c7bf192 (diff)
downloadtroggle-05d262e42bf1a6c2e3cd0ee26d2bb17269135cf9.tar.gz
troggle-05d262e42bf1a6c2e3cd0ee26d2bb17269135cf9.tar.bz2
troggle-05d262e42bf1a6c2e3cd0ee26d2bb17269135cf9.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")