diff options
-rw-r--r-- | core/views_other.py | 2 |
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")
|